diff options
Diffstat (limited to 'arch/arm/mm/init.c')
| -rw-r--r-- | arch/arm/mm/init.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index 88279124317a..9ea1f87a7079 100644 --- a/arch/arm/mm/init.c +++ b/arch/arm/mm/init.c | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | 20 | ||
| 21 | #include <asm/mach-types.h> | 21 | #include <asm/mach-types.h> |
| 22 | #include <asm/setup.h> | 22 | #include <asm/setup.h> |
| 23 | #include <asm/sizes.h> | ||
| 23 | #include <asm/tlb.h> | 24 | #include <asm/tlb.h> |
| 24 | 25 | ||
| 25 | #include <asm/mach/arch.h> | 26 | #include <asm/mach/arch.h> |
| @@ -455,14 +456,14 @@ static void __init devicemaps_init(struct machine_desc *mdesc) | |||
| 455 | #ifdef FLUSH_BASE | 456 | #ifdef FLUSH_BASE |
| 456 | map.pfn = __phys_to_pfn(FLUSH_BASE_PHYS); | 457 | map.pfn = __phys_to_pfn(FLUSH_BASE_PHYS); |
| 457 | map.virtual = FLUSH_BASE; | 458 | map.virtual = FLUSH_BASE; |
| 458 | map.length = PGDIR_SIZE; | 459 | map.length = SZ_1M; |
| 459 | map.type = MT_CACHECLEAN; | 460 | map.type = MT_CACHECLEAN; |
| 460 | create_mapping(&map); | 461 | create_mapping(&map); |
| 461 | #endif | 462 | #endif |
| 462 | #ifdef FLUSH_BASE_MINICACHE | 463 | #ifdef FLUSH_BASE_MINICACHE |
| 463 | map.pfn = __phys_to_pfn(FLUSH_BASE_PHYS + PGDIR_SIZE); | 464 | map.pfn = __phys_to_pfn(FLUSH_BASE_PHYS + SZ_1M); |
| 464 | map.virtual = FLUSH_BASE_MINICACHE; | 465 | map.virtual = FLUSH_BASE_MINICACHE; |
| 465 | map.length = PGDIR_SIZE; | 466 | map.length = SZ_1M; |
| 466 | map.type = MT_MINICLEAN; | 467 | map.type = MT_MINICLEAN; |
| 467 | create_mapping(&map); | 468 | create_mapping(&map); |
| 468 | #endif | 469 | #endif |
