Commit:     0108d3fe3c44f01de224f39347b95f6a94181687
Parent:     11fbb00c67e19737757e747ec7dd3ba8d584f5d1
Author:     Michael Ellerman <[EMAIL PROTECTED]>
AuthorDate: Mon May 7 15:58:28 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Tue May 8 11:54:19 2007 +1000

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
 arch/powerpc/kernel/prom_init.c |    2 +-
 arch/powerpc/mm/stab.c          |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c
index 87efb42..eee3555 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 
  * If problems seem to show up, it would be a good start to track
  * them down.
-static void reserve_mem(u64 base, u64 size)
+static void __init reserve_mem(u64 base, u64 size)
        u64 top = base + size;
        unsigned long cnt = RELOC(mem_reserve_cnt);
diff --git a/arch/powerpc/mm/stab.c b/arch/powerpc/mm/stab.c
index eeeacab..132c6bc 100644
--- a/arch/powerpc/mm/stab.c
+++ b/arch/powerpc/mm/stab.c
@@ -227,7 +227,7 @@ void switch_stab(struct task_struct *tsk, struct mm_struct 
  * the first (bolted) segment, so that do_stab_bolted won't get a
  * recursive segment miss on the segment table itself.
-void stabs_alloc(void)
+void __init stabs_alloc(void)
        int cpu;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to