mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: + memory-hotplug-compile-fix.patch added to -mm tree
       [not found] <200603040753.k247rbNK012054@shell0.pdx.osdl.net>
@ 2006-03-06 15:43 ` Dave Hansen
  0 siblings, 0 replies; only message in thread
From: Dave Hansen @ 2006-03-06 15:43 UTC (permalink / raw)
  To: linux-kernel; +Cc: kamezawa.hiroyu, mm-commits

On Fri, 2006-03-03 at 23:52 -0800, akpm@osdl.org 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-03-06 15:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200603040753.k247rbNK012054@shell0.pdx.osdl.net>
2006-03-06 15:43 ` + memory-hotplug-compile-fix.patch added to -mm tree Dave Hansen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome