aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorGustavo F. Padovan <gustavo@las.ic.unicamp.br>2009-02-15 19:48:55 -0500
committerH. Peter Anvin <hpa@zytor.com>2009-02-27 23:57:47 -0500
commit2ae38daf25204b7c3725e053052f77469eff62cf (patch)
treec3e8bc4e9b547921eb069864324ad3eca5fed5d6 /arch/x86
parentfd862dde18c3e360f510780e1d1bf615866b11c2 (diff)
x86, fixmap: add CONFIG_X86_{LOCAL,IO}_APIC
Impact: New fixmap allocations Add CONFIG_X86_{LOCAL,IO}_APIC to enum fixed_address. FIX_APIC_BASE is used only when CONFIG_X86_LOCAL_APIC is enabled and FIX_IO_APIC_BASE_* are used only when CONFIG_X86_IO_APIC is enabled. Signed-off-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br> Acked-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/include/asm/fixmap_64.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/asm/fixmap_64.h b/arch/x86/include/asm/fixmap_64.h
index b6c06dd55f1c..7a518ec82635 100644
--- a/arch/x86/include/asm/fixmap_64.h
+++ b/arch/x86/include/asm/fixmap_64.h
@@ -40,9 +40,13 @@ enum fixed_addresses {
40 VSYSCALL_HPET, 40 VSYSCALL_HPET,
41 FIX_DBGP_BASE, 41 FIX_DBGP_BASE,
42 FIX_EARLYCON_MEM_BASE, 42 FIX_EARLYCON_MEM_BASE,
43#ifdef CONFIG_X86_LOCAL_APIC
43 FIX_APIC_BASE, /* local (CPU) APIC) -- required for SMP or not */ 44 FIX_APIC_BASE, /* local (CPU) APIC) -- required for SMP or not */
45#endif
46#ifdef CONFIG_X86_IO_APIC
44 FIX_IO_APIC_BASE_0, 47 FIX_IO_APIC_BASE_0,
45 FIX_IO_APIC_BASE_END = FIX_IO_APIC_BASE_0 + MAX_IO_APICS - 1, 48 FIX_IO_APIC_BASE_END = FIX_IO_APIC_BASE_0 + MAX_IO_APICS - 1,
49#endif
46 FIX_EFI_IO_MAP_LAST_PAGE, 50 FIX_EFI_IO_MAP_LAST_PAGE,
47 FIX_EFI_IO_MAP_FIRST_PAGE = FIX_EFI_IO_MAP_LAST_PAGE 51 FIX_EFI_IO_MAP_FIRST_PAGE = FIX_EFI_IO_MAP_LAST_PAGE
48 + MAX_EFI_IO_PAGES - 1, 52 + MAX_EFI_IO_PAGES - 1,