[PATCH] Fix gcc 3.5 compile issue in mm/mempolicy.c

From: Anton Blanchard
Date: Wed Aug 04 2004 - 18:18:19 EST



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@xxxxxxxxx>

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.

_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/