Commit:     e903387f1ebe3a7ddb93cd49c38341d3632df528
Parent:     67af63a6ab4ce064f807bdce614fe0fa2bcea252
Author:     Magnus Damm <[EMAIL PROTECTED]>
AuthorDate: Fri Dec 22 01:08:01 2006 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Fri Dec 22 08:55:48 2006 -0800

    [PATCH] fix vm_events_fold_cpu() build breakage
    fix vm_events_fold_cpu() build breakage
    2.6.20-rc1 does not build properly if CONFIG_VM_EVENT_COUNTERS is set
    and CONFIG_HOTPLUG is unset:
      CC      init/version.o
      LD      init/built-in.o
      LD      .tmp_vmlinux1
    mm/built-in.o: In function `page_alloc_cpu_notify':
    page_alloc.c:(.text+0x56eb): undefined reference to `vm_events_fold_cpu'
    make: *** [.tmp_vmlinux1] Error 1
    [EMAIL PROTECTED]: cleanup]
    Signed-off-by: Magnus Damm <[EMAIL PROTECTED]>
    Cc: Christoph Lameter <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 include/linux/vmstat.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/include/linux/vmstat.h b/include/linux/vmstat.h
index 5323600..5e9803e 100644
--- a/include/linux/vmstat.h
+++ b/include/linux/vmstat.h
@@ -74,7 +74,13 @@ static inline void count_vm_events(enum vm_event_item item, 
long delta)
 extern void all_vm_events(unsigned long *);
 extern void vm_events_fold_cpu(int cpu);
+static inline void vm_events_fold_cpu(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