Skip to contentSkip to conversation

Fix gcc 3.5 compile issue in mm/mempolicy.c

PATCH New Anton Blanchard 1 participant 1 message Aug 4, 2004 MM NUMA placement

lore
Share & tools
lore
#0 lore raw

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

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.

include/linux/mempolicy.h renamed from include/linux/mempolicy.h~more-3.5-fixes +0 -3
diff -puN include/linux/mempolicy.h~more-3.5-fixes include/linux/mempolicy.h
@@ -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.

_