* [PATCH] Fix gcc 3.5 compile issue in mm/mempolicy.c
@ 2004-08-04 23:11 Anton Blanchard
0 siblings, 0 replies; only message in thread
From: Anton Blanchard @ 2004-08-04 23:11 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel
Fix another gcc 3.5 compile issue, this time the default_policy prototype
was not marked static whereas the definition was. There is no need for
the prototype, so remove it.
Signed-off-by: Anton Blanchard <anton@samba.org>
diff -puN include/linux/mempolicy.h~more-3.5-fixes include/linux/mempolicy.h
--- linux-2.6.8-rc2-mm2/include/linux/mempolicy.h~more-3.5-fixes 2004-08-04 17:46:37.671867293 -0500
+++ linux-2.6.8-rc2-mm2-anton/include/linux/mempolicy.h 2004-08-04 17:46:37.681865704 -0500
@@ -68,9 +68,6 @@ struct mempolicy {
} v;
};
-/* An NULL mempolicy pointer is a synonym of &default_policy. */
-extern struct mempolicy default_policy;
-
/*
* Support for managing mempolicy data objects (clone, copy, destroy)
* The default fast path of a NULL MPOL_DEFAULT policy is always inlined.
_
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-08-04 23:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-04 23:11 [PATCH] Fix gcc 3.5 compile issue in mm/mempolicy.c Anton Blanchard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®