aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/prom_init.c
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2007-05-07 01:58:28 -0400
committerPaul Mackerras <paulus@samba.org>2007-05-07 21:54:19 -0400
commit0108d3fe3c44f01de224f39347b95f6a94181687 (patch)
tree8d22f3d442a7473841095703399f2866340fdcc3 /arch/powerpc/kernel/prom_init.c
parent11fbb00c67e19737757e747ec7dd3ba8d584f5d1 (diff)
[POWERPC] Add __init annotations to reserve_mem() and stabs_alloc()
reserve_mem() and stabs_alloc() are both called only from other __init routines, so can be marked __init. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/prom_init.c')
-rw-r--r--arch/powerpc/kernel/prom_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c
index 87efb42247d1..eee3555ced7c 100644
--- a/arch/powerpc/kernel/prom_init.c
+++ b/arch/powerpc/kernel/prom_init.c
@@ -967,7 +967,7 @@ static unsigned long __init prom_next_cell(int s, cell_t **cellp)
967 * If problems seem to show up, it would be a good start to track 967 * If problems seem to show up, it would be a good start to track
968 * them down. 968 * them down.
969 */ 969 */
970static void reserve_mem(u64 base, u64 size) 970static void __init reserve_mem(u64 base, u64 size)
971{ 971{
972 u64 top = base + size; 972 u64 top = base + size;
973 unsigned long cnt = RELOC(mem_reserve_cnt); 973 unsigned long cnt = RELOC(mem_reserve_cnt);