aboutsummaryrefslogtreecommitdiffstats
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/vmalloc.c')
-rw-r--r--mm/vmalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index 3130c343088f..213d5e5079ff 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -583,9 +583,9 @@ void *vmalloc_exec(unsigned long size)
583} 583}
584 584
585#if defined(CONFIG_64BIT) && defined(CONFIG_ZONE_DMA32) 585#if defined(CONFIG_64BIT) && defined(CONFIG_ZONE_DMA32)
586#define GFP_VMALLOC32 GFP_DMA32 586#define GFP_VMALLOC32 GFP_DMA32 | GFP_KERNEL
587#elif defined(CONFIG_64BIT) && defined(CONFIG_ZONE_DMA) 587#elif defined(CONFIG_64BIT) && defined(CONFIG_ZONE_DMA)
588#define GFP_VMALLOC32 GFP_DMA 588#define GFP_VMALLOC32 GFP_DMA | GFP_KERNEL
589#else 589#else
590#define GFP_VMALLOC32 GFP_KERNEL 590#define GFP_VMALLOC32 GFP_KERNEL
591#endif 591#endif