]> Pileus Git - ~andy/linux/blobdiff - include/linux/gfp.h
Merge branch 'for-3.0-important' of git://git.drbd.org/linux-2.6-drbd into for-linus
[~andy/linux] / include / linux / gfp.h
index 7e8f5d863c766cac485cfcb8715c9e9c7344f1fd..cb4089254f01feb22fa7db68841f81e7e6b2569c 100644 (file)
@@ -249,9 +249,7 @@ static inline enum zone_type gfp_zone(gfp_t flags)
 
        z = (GFP_ZONE_TABLE >> (bit * ZONES_SHIFT)) &
                                         ((1 << ZONES_SHIFT) - 1);
-#ifdef CONFIG_DEBUG_VM
-       BUG_ON((GFP_ZONE_BAD >> bit) & 1);
-#endif
+       VM_BUG_ON((GFP_ZONE_BAD >> bit) & 1);
        return z;
 }