Commit:     42614fcde7bfdcbe43a7b17035c167dfebc354dd
Parent:     579d6d93ca531fba3e29ddf39fefe5184012068b
Author:     Randy Dunlap <[EMAIL PROTECTED]>
AuthorDate: Wed Nov 14 17:00:12 2007 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Wed Nov 14 18:45:42 2007 -0800

    vmstat: fix section mismatch warning
    Mark start_cpu_timer() as __cpuinit instead of __devinit.
    Fixes this section warning:
    WARNING: vmlinux.o(.text+0x60e53): Section mismatch: reference to 
.init.text:start_cpu_timer (between 'vmstat_cpuup_callback' and 'vmstat_show')
    Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]>
    Acked-by: Christoph Lameter <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 mm/vmstat.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mm/vmstat.c b/mm/vmstat.c
index 4651bf1..e8d846f 100644
--- a/mm/vmstat.c
+++ b/mm/vmstat.c
@@ -803,7 +803,7 @@ static void vmstat_update(struct work_struct *w)
-static void __devinit start_cpu_timer(int cpu)
+static void __cpuinit start_cpu_timer(int cpu)
        struct delayed_work *vmstat_work = &per_cpu(vmstat_work, 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