Merge branch 'akpm' (patches from Andrew)
[linux-2.6-microblaze.git] / lib / test_printf.c
index 8a48b61..5508243 100644 (file)
@@ -614,7 +614,7 @@ page_flags_test(int section, int node, int zone, int last_cpupid,
        bool append = false;
        int i;
 
-       flags &= BIT(NR_PAGEFLAGS) - 1;
+       flags &= PAGEFLAGS_MASK;
        if (flags) {
                page_flags |= flags;
                snprintf(cmp_buf + size, BUF_SIZE - size, "%s", name);