]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/mempolicy.h
[PATCH] md: fix a comment that is wrong in raid5.h
[linux-2.6-omap-h63xx.git] / include / linux / mempolicy.h
index 6a7621b2b12b0061c9edc3daf3a8dbede1a1451c..09f0f575ddff947b32ac9cdef5e8f2b07b4dff87 100644 (file)
@@ -28,7 +28,6 @@
 
 #ifdef __KERNEL__
 
-#include <linux/config.h>
 #include <linux/mmzone.h>
 #include <linux/slab.h>
 #include <linux/rbtree.h>
@@ -36,6 +35,7 @@
 #include <linux/nodemask.h>
 
 struct vm_area_struct;
+struct mm_struct;
 
 #ifdef CONFIG_NUMA
 
@@ -162,9 +162,9 @@ extern struct zonelist *huge_zonelist(struct vm_area_struct *vma,
                unsigned long addr);
 extern unsigned slab_node(struct mempolicy *policy);
 
-extern int policy_zone;
+extern enum zone_type policy_zone;
 
-static inline void check_highest_zone(int k)
+static inline void check_highest_zone(enum zone_type k)
 {
        if (k > policy_zone)
                policy_zone = k;