Patchwork lmb: Also remove __init from lmb_end_of_RAM() declaration in lmb.h

login
register
mail settings
Submitter Benjamin Herrenschmidt
Date Aug. 31, 2009, 3:48 a.m.
Message ID <1251690496.9499.12.camel@pasglop>
Download mbox | patch
Permalink /patch/32606/
State Accepted
Headers show

Comments

Benjamin Herrenschmidt - Aug. 31, 2009, 3:48 a.m.
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@kernel.crashing.org>
---

And this one I tested :-)

Cheers,
Ben.

Patch

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);