The patch titled
     fix vm_events_fold_cpu() build breakage
has been removed from the -mm tree.  Its filename was
     fix-vm_events_fold_cpu-build-breakage.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: fix vm_events_fold_cpu() build breakage
From: Magnus Damm <[EMAIL PROTECTED]>

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]>
---

 include/linux/vmstat.h |    6 ++++++
 1 file changed, 6 insertions(+)

diff -puN include/linux/vmstat.h~fix-vm_events_fold_cpu-build-breakage 
include/linux/vmstat.h
--- a/include/linux/vmstat.h~fix-vm_events_fold_cpu-build-breakage
+++ a/include/linux/vmstat.h
@@ -74,7 +74,13 @@ static inline void count_vm_events(enum 
 }
 
 extern void all_vm_events(unsigned long *);
+#ifdef CONFIG_HOTPLUG
 extern void vm_events_fold_cpu(int cpu);
+#else
+static inline void vm_events_fold_cpu(int cpu)
+{
+}
+#endif
 
 #else
 
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

origin.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to