summaryrefslogtreecommitdiffstats
path: root/include/linux/memory_hotplug.h
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki2006-03-07 00:42:49 +0100
committerLinus Torvalds2006-03-07 03:40:44 +0100
commit78679302fe428f4f3dc853a51ee24f306010d874 (patch)
tree0199651add3645053c523e6aab08a0991582965f /include/linux/memory_hotplug.h
parent[PATCH] add missing pm_power_off's (diff)
downloadkernel-qcow2-linux-78679302fe428f4f3dc853a51ee24f306010d874.tar.gz
kernel-qcow2-linux-78679302fe428f4f3dc853a51ee24f306010d874.tar.xz
kernel-qcow2-linux-78679302fe428f4f3dc853a51ee24f306010d874.zip
[PATCH] memory-hotplug compile fix
include/linux/memory_hotplug.h:53: warning: 'struct page' declared inside parameter list (akpm: I tossed in a couple more possibly-needed-sometime struct decls too) Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/memory_hotplug.h')
-rw-r--r--include/linux/memory_hotplug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h
index 01f03bc06eff..968b1aa3732c 100644
--- a/include/linux/memory_hotplug.h
+++ b/include/linux/memory_hotplug.h
@@ -6,6 +6,10 @@
#include <linux/mmzone.h>
#include <linux/notifier.h>
+struct page;
+struct zone;
+struct pglist_data;
+
#ifdef CONFIG_MEMORY_HOTPLUG
/*
* pgdat resizing functions