diff options
author | David Woodhouse <dwmw2@infradead.org> | 2008-02-03 02:29:41 -0500 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2008-02-03 02:30:32 -0500 |
commit | c1f3ee120bb61045b1c0a3ead620d1d65af47130 (patch) | |
tree | 908430bf2b47fe8e96ac623ae7ab6dd5698d0938 /include/asm-x86/fixmap_32.h | |
parent | e619a75ff6201b567a539e787aa9af9bc63a3187 (diff) | |
parent | 9135f1901ee6449dfe338adf6e40e9c2025b8150 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'include/asm-x86/fixmap_32.h')
-rw-r--r-- | include/asm-x86/fixmap_32.h | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/include/asm-x86/fixmap_32.h b/include/asm-x86/fixmap_32.h index 249e753ac805..a7404d50686b 100644 --- a/include/asm-x86/fixmap_32.h +++ b/include/asm-x86/fixmap_32.h | |||
@@ -65,7 +65,7 @@ enum fixed_addresses { | |||
65 | #endif | 65 | #endif |
66 | #ifdef CONFIG_X86_VISWS_APIC | 66 | #ifdef CONFIG_X86_VISWS_APIC |
67 | FIX_CO_CPU, /* Cobalt timer */ | 67 | FIX_CO_CPU, /* Cobalt timer */ |
68 | FIX_CO_APIC, /* Cobalt APIC Redirection Table */ | 68 | FIX_CO_APIC, /* Cobalt APIC Redirection Table */ |
69 | FIX_LI_PCIA, /* Lithium PCI Bridge A */ | 69 | FIX_LI_PCIA, /* Lithium PCI Bridge A */ |
70 | FIX_LI_PCIB, /* Lithium PCI Bridge B */ | 70 | FIX_LI_PCIB, /* Lithium PCI Bridge B */ |
71 | #endif | 71 | #endif |
@@ -74,7 +74,7 @@ enum fixed_addresses { | |||
74 | #endif | 74 | #endif |
75 | #ifdef CONFIG_X86_CYCLONE_TIMER | 75 | #ifdef CONFIG_X86_CYCLONE_TIMER |
76 | FIX_CYCLONE_TIMER, /*cyclone timer register*/ | 76 | FIX_CYCLONE_TIMER, /*cyclone timer register*/ |
77 | #endif | 77 | #endif |
78 | #ifdef CONFIG_HIGHMEM | 78 | #ifdef CONFIG_HIGHMEM |
79 | FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ | 79 | FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ |
80 | FIX_KMAP_END = FIX_KMAP_BEGIN+(KM_TYPE_NR*NR_CPUS)-1, | 80 | FIX_KMAP_END = FIX_KMAP_BEGIN+(KM_TYPE_NR*NR_CPUS)-1, |
@@ -90,11 +90,23 @@ enum fixed_addresses { | |||
90 | FIX_PARAVIRT_BOOTMAP, | 90 | FIX_PARAVIRT_BOOTMAP, |
91 | #endif | 91 | #endif |
92 | __end_of_permanent_fixed_addresses, | 92 | __end_of_permanent_fixed_addresses, |
93 | /* temporary boot-time mappings, used before ioremap() is functional */ | 93 | /* |
94 | #define NR_FIX_BTMAPS 16 | 94 | * 256 temporary boot-time mappings, used by early_ioremap(), |
95 | FIX_BTMAP_END = __end_of_permanent_fixed_addresses, | 95 | * before ioremap() is functional. |
96 | FIX_BTMAP_BEGIN = FIX_BTMAP_END + NR_FIX_BTMAPS - 1, | 96 | * |
97 | * We round it up to the next 512 pages boundary so that we | ||
98 | * can have a single pgd entry and a single pte table: | ||
99 | */ | ||
100 | #define NR_FIX_BTMAPS 64 | ||
101 | #define FIX_BTMAPS_NESTING 4 | ||
102 | FIX_BTMAP_END = | ||
103 | __end_of_permanent_fixed_addresses + 512 - | ||
104 | (__end_of_permanent_fixed_addresses & 511), | ||
105 | FIX_BTMAP_BEGIN = FIX_BTMAP_END + NR_FIX_BTMAPS*FIX_BTMAPS_NESTING - 1, | ||
97 | FIX_WP_TEST, | 106 | FIX_WP_TEST, |
107 | #ifdef CONFIG_PROVIDE_OHCI1394_DMA_INIT | ||
108 | FIX_OHCI1394_BASE, | ||
109 | #endif | ||
98 | __end_of_fixed_addresses | 110 | __end_of_fixed_addresses |
99 | }; | 111 | }; |
100 | 112 | ||