aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mm')
-rw-r--r--arch/x86/mm/init_64.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index 592b2368062d..d6d408467c46 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -53,8 +53,6 @@
53#include <asm/init.h> 53#include <asm/init.h>
54#include <linux/bootmem.h> 54#include <linux/bootmem.h>
55 55
56static unsigned long dma_reserve __initdata;
57
58static int __init parse_direct_gbpages_off(char *arg) 56static int __init parse_direct_gbpages_off(char *arg)
59{ 57{
60 direct_gbpages = 0; 58 direct_gbpages = 0;
@@ -821,11 +819,6 @@ int __init reserve_bootmem_generic(unsigned long phys, unsigned long len,
821 819
822 reserve_bootmem(phys, len, flags); 820 reserve_bootmem(phys, len, flags);
823 821
824 if (phys+len <= MAX_DMA_PFN*PAGE_SIZE) {
825 dma_reserve += len / PAGE_SIZE;
826 set_dma_reserve(dma_reserve);
827 }
828
829 return 0; 822 return 0;
830} 823}
831#endif 824#endif