aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@openvz.org>2009-11-08 10:53:56 -0500
committerIngo Molnar <mingo@elte.hu>2009-11-08 11:06:22 -0500
commit46dc281b1bb02527195fe2ad50a3af6d7f7f7325 (patch)
tree7d92725abc483c7cdf1b4fd4546b0d8d5f5e1802
parent5231a68614b94f60e8f6c56bc6e3d75955b9e75e (diff)
x86, apic: Use PAGE_SIZE instead of numbers
The whole page is reserved for IO-APIC fixmap due to non-cacheable requirement. So lets note this explicitly instead of playing with numbers. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Cc: Yinghai Lu <yinghai@kernel.org> Cc: Maciej W. Rozycki <macro@linux-mips.org> LKML-Reference: <20091108155356.GB25940@lenovo> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--arch/x86/kernel/apic/io_apic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c
index 31e9db3c12ad..9ee1c1628c17 100644
--- a/arch/x86/kernel/apic/io_apic.c
+++ b/arch/x86/kernel/apic/io_apic.c
@@ -4111,7 +4111,7 @@ fake_ioapic_page:
4111 idx++; 4111 idx++;
4112 4112
4113 ioapic_res->start = ioapic_phys; 4113 ioapic_res->start = ioapic_phys;
4114 ioapic_res->end = ioapic_phys + (4 * 1024) - 1; 4114 ioapic_res->end = ioapic_phys + PAGE_SIZE-1;
4115 ioapic_res++; 4115 ioapic_res++;
4116 } 4116 }
4117} 4117}