]> err.no Git - linux-2.6/blobdiff - include/linux/mmzone.h
[PATCH] lockdep: avoid lockdep warning in md
[linux-2.6] / include / linux / mmzone.h
index 09bf9d8d7b7226aab511988f75354c20ad7cd7ac..e339a7345f25ed88cce27e5e50544aa085a4a465 100644 (file)
@@ -278,7 +278,7 @@ struct zone {
        /*
         * rarely used fields:
         */
-       char                    *name;
+       const char              *name;
 } ____cacheline_internodealigned_in_smp;
 
 /*
@@ -352,8 +352,8 @@ struct zone {
 
 
 struct zonelist_cache {
-       DECLARE_BITMAP(fullzones, MAX_ZONES_PER_ZONELIST);      /* zone full? */
        unsigned short z_to_n[MAX_ZONES_PER_ZONELIST];          /* zone->nid */
+       DECLARE_BITMAP(fullzones, MAX_ZONES_PER_ZONELIST);      /* zone full? */
        unsigned long last_full_zap;            /* when last zap'd (jiffies) */
 };
 #else