[PATCH] lmb: Also remove __init from lmb_end_of_RAM() declaration in lmb.h

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Aug 31 13:48:16 EST 2009


Previous patch removed __init in lmb.c but missed the fact
that it was also marked as such in the .h

Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
---

And this one I tested :-)

Cheers,
Ben.

diff --git a/include/linux/lmb.h b/include/linux/lmb.h
index c46c895..2442e3f 100644
--- a/include/linux/lmb.h
+++ b/include/linux/lmb.h
@@ -51,7 +51,7 @@ extern u64 __init lmb_alloc_base(u64 size,
 extern u64 __init __lmb_alloc_base(u64 size,
 		u64 align, u64 max_addr);
 extern u64 __init lmb_phys_mem_size(void);
-extern u64 __init lmb_end_of_DRAM(void);
+extern u64 lmb_end_of_DRAM(void);
 extern void __init lmb_enforce_memory_limit(u64 memory_limit);
 extern int __init lmb_is_reserved(u64 addr);
 extern int lmb_find(struct lmb_property *res);





More information about the Linuxppc-dev mailing list