On Fri, 2006-03-03 at 23:52 -0800, [email protected] wrote:
> diff -puN include/linux/memory_hotplug.h~memory-hotplug-compile-fix include/linux/memory_hotplug.h
> --- devel/include/linux/memory_hotplug.h~memory-hotplug-compile-fix 2006-03-03 23:50:50.000000000 -0800
> +++ devel-akpm/include/linux/memory_hotplug.h 2006-03-03 23:51:45.000000000 -0800
> @@ -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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]