mm: discard __GFP_ATOMIC
[linux-2.6-block.git] / lib / test_printf.c
index d34dc636b81c794b22ee5341bed0257e6bf34d66..46b4e6c414a3573f9714ea36173cf7a28bc50a02 100644 (file)
@@ -674,17 +674,17 @@ flags(void)
        gfp = GFP_ATOMIC|__GFP_DMA;
        test("GFP_ATOMIC|GFP_DMA", "%pGg", &gfp);
 
-       gfp = __GFP_ATOMIC;
-       test("__GFP_ATOMIC", "%pGg", &gfp);
+       gfp = __GFP_HIGH;
+       test("__GFP_HIGH", "%pGg", &gfp);
 
        /* Any flags not translated by the table should remain numeric */
        gfp = ~__GFP_BITS_MASK;
        snprintf(cmp_buffer, BUF_SIZE, "%#lx", (unsigned long) gfp);
        test(cmp_buffer, "%pGg", &gfp);
 
-       snprintf(cmp_buffer, BUF_SIZE, "__GFP_ATOMIC|%#lx",
+       snprintf(cmp_buffer, BUF_SIZE, "__GFP_HIGH|%#lx",
                                                        (unsigned long) gfp);
-       gfp |= __GFP_ATOMIC;
+       gfp |= __GFP_HIGH;
        test(cmp_buffer, "%pGg", &gfp);
 
        kfree(cmp_buffer);