diff options
Diffstat (limited to 'arch/arm/mm')
-rw-r--r-- | arch/arm/mm/mmu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index 9ea274d1af69..ca46f413d867 100644 --- a/arch/arm/mm/mmu.c +++ b/arch/arm/mm/mmu.c | |||
@@ -1205,7 +1205,11 @@ static void __init devicemaps_init(struct machine_desc *mdesc) | |||
1205 | map.pfn = __phys_to_pfn(virt_to_phys(vectors)); | 1205 | map.pfn = __phys_to_pfn(virt_to_phys(vectors)); |
1206 | map.virtual = 0xffff0000; | 1206 | map.virtual = 0xffff0000; |
1207 | map.length = PAGE_SIZE; | 1207 | map.length = PAGE_SIZE; |
1208 | #ifdef CONFIG_KUSER_HELPERS | ||
1208 | map.type = MT_HIGH_VECTORS; | 1209 | map.type = MT_HIGH_VECTORS; |
1210 | #else | ||
1211 | map.type = MT_LOW_VECTORS; | ||
1212 | #endif | ||
1209 | create_mapping(&map); | 1213 | create_mapping(&map); |
1210 | 1214 | ||
1211 | if (!vectors_high()) { | 1215 | if (!vectors_high()) { |