+ memory-hotplug-compile-fix.patch added to -mm tree
A message that is not in the archive (sent off-list or not yet received): [email protected]
include/linux/memory_hotplug.h 2006-03-03 23:51:45.000000000 -0800 line 11
Quoted 10 lines · On Fri, 2006-03-03 at 23:52 -0800, [email protected] wrote:
diff -puN
include/linux/memory_hotplug.h~memory-hotplug-compile-fixinclude/linux/memory_hotplug.hinclude/linux/memory_hotplug.h 2006-03-03 23:51:45.000000000 -0800 renamed from include/linux/memory_hotplug.h~memory-hotplug-compile-fix 2006-03-03 23:50:50.000000000 -0800 +3
-0@@ -6,6 +6,10 @@ #include <linux/mmzone.h> #include <linux/notifier.h> +struct page; +struct zone; +struct pglist_data;
There are places in that file where we dereference both zone and pgdat struct pointers. struct page, on the other hand, is only a function argument. So, the predeclaration should be fine for pages. But, it probably won't do any good for zones or pgdats.
-- Dave