* [PATCH] properly __init-annotate bootmem helper functions
@ 2009-11-20 13:42 Jan Beulich
0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2009-11-20 13:42 UTC (permalink / raw)
To: linux-mm, Andrew Morton; +Cc: linux-kernel
Signed-off-by: Jan Beulich <jbeulich@novell.com>
---
mm/bootmem.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--- linux-2.6.32-rc8/mm/bootmem.c 2009-11-20 14:11:50.000000000 +0100
+++ 2.6.32-rc8-bootmem-align-functions/mm/bootmem.c 2009-11-20 11:23:52.000000000 +0100
@@ -408,8 +408,8 @@ int __init reserve_bootmem(unsigned long
return mark_bootmem(start, end, 1, flags);
}
-static unsigned long align_idx(struct bootmem_data *bdata, unsigned long idx,
- unsigned long step)
+static unsigned long __init align_idx(struct bootmem_data *bdata,
+ unsigned long idx, unsigned long step)
{
unsigned long base = bdata->node_min_pfn;
@@ -421,8 +421,8 @@ static unsigned long align_idx(struct bo
return ALIGN(base + idx, step) - base;
}
-static unsigned long align_off(struct bootmem_data *bdata, unsigned long off,
- unsigned long align)
+static unsigned long __init align_off(struct bootmem_data *bdata,
+ unsigned long off, unsigned long align)
{
unsigned long base = PFN_PHYS(bdata->node_min_pfn);
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-20 13:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-20 13:42 [PATCH] properly __init-annotate bootmem helper functions Jan Beulich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox