diff options
Diffstat (limited to 'arch/x86/kernel/pci-dma.c')
-rw-r--r-- | arch/x86/kernel/pci-dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c index cb0bdf440715..8467ec2320f1 100644 --- a/arch/x86/kernel/pci-dma.c +++ b/arch/x86/kernel/pci-dma.c | |||
@@ -75,7 +75,7 @@ early_param("dma32_size", parse_dma32_size_opt); | |||
75 | void __init dma32_reserve_bootmem(void) | 75 | void __init dma32_reserve_bootmem(void) |
76 | { | 76 | { |
77 | unsigned long size, align; | 77 | unsigned long size, align; |
78 | if (end_pfn <= MAX_DMA32_PFN) | 78 | if (max_pfn <= MAX_DMA32_PFN) |
79 | return; | 79 | return; |
80 | 80 | ||
81 | /* | 81 | /* |
@@ -94,7 +94,7 @@ void __init dma32_reserve_bootmem(void) | |||
94 | static void __init dma32_free_bootmem(void) | 94 | static void __init dma32_free_bootmem(void) |
95 | { | 95 | { |
96 | 96 | ||
97 | if (end_pfn <= MAX_DMA32_PFN) | 97 | if (max_pfn <= MAX_DMA32_PFN) |
98 | return; | 98 | return; |
99 | 99 | ||
100 | if (!dma32_bootmem_ptr) | 100 | if (!dma32_bootmem_ptr) |