]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Fix gcc 3.5 compile issue in mm/mempolicy.c
authorAnton Blanchard <anton@samba.org>
Mon, 23 Aug 2004 06:07:10 +0000 (23:07 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 23 Aug 2004 06:07:10 +0000 (23:07 -0700)
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>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/mempolicy.h

index 775c415908aeb5b212c0f352a172b7aa5d51381b..9835ac230cc53cf687eb8e3d43fe56779794a6fe 100644 (file)
@@ -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.