Commit 78679302fe428f4f3dc853a51ee24f306010d874

Authored by KAMEZAWA Hiroyuki
Committed by Linus Torvalds
1 parent 47f3fc94cf

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

Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff

include/linux/memory_hotplug.h
... ... @@ -6,6 +6,10 @@
6 6 #include <linux/mmzone.h>
7 7 #include <linux/notifier.h>
8 8  
  9 +struct page;
  10 +struct zone;
  11 +struct pglist_data;
  12 +
9 13 #ifdef CONFIG_MEMORY_HOTPLUG
10 14 /*
11 15 * pgdat resizing functions