diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-06-25 01:14:09 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 07:10:38 -0400 |
commit | c987d12f8455b19b3b057d63bac3de161bd809fc (patch) | |
tree | eb42d14516ea0d24d023d00ed0100cbee42df28c /arch/x86/kernel/pci-dma.c | |
parent | f47f9d538ecc938bed589e9d39ad7b454f3b506c (diff) |
x86: remove end_pfn in 64bit
and use max_pfn directly.
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
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) |