diff options
Diffstat (limited to 'arch/arm/kernel/tcm.c')
-rw-r--r-- | arch/arm/kernel/tcm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/kernel/tcm.c b/arch/arm/kernel/tcm.c index e50303868f1b..0c62aa2c86ea 100644 --- a/arch/arm/kernel/tcm.c +++ b/arch/arm/kernel/tcm.c | |||
@@ -13,7 +13,6 @@ | |||
13 | #include <linux/ioport.h> | 13 | #include <linux/ioport.h> |
14 | #include <linux/genalloc.h> | 14 | #include <linux/genalloc.h> |
15 | #include <linux/string.h> /* memcpy */ | 15 | #include <linux/string.h> /* memcpy */ |
16 | #include <asm/page.h> /* PAGE_SHIFT */ | ||
17 | #include <asm/cputype.h> | 16 | #include <asm/cputype.h> |
18 | #include <asm/mach/map.h> | 17 | #include <asm/mach/map.h> |
19 | #include <mach/memory.h> | 18 | #include <mach/memory.h> |
@@ -53,7 +52,7 @@ static struct map_desc dtcm_iomap[] __initdata = { | |||
53 | .virtual = DTCM_OFFSET, | 52 | .virtual = DTCM_OFFSET, |
54 | .pfn = __phys_to_pfn(DTCM_OFFSET), | 53 | .pfn = __phys_to_pfn(DTCM_OFFSET), |
55 | .length = (DTCM_END - DTCM_OFFSET + 1), | 54 | .length = (DTCM_END - DTCM_OFFSET + 1), |
56 | .type = MT_UNCACHED | 55 | .type = MT_MEMORY_DTCM |
57 | } | 56 | } |
58 | }; | 57 | }; |
59 | 58 | ||
@@ -62,7 +61,7 @@ static struct map_desc itcm_iomap[] __initdata = { | |||
62 | .virtual = ITCM_OFFSET, | 61 | .virtual = ITCM_OFFSET, |
63 | .pfn = __phys_to_pfn(ITCM_OFFSET), | 62 | .pfn = __phys_to_pfn(ITCM_OFFSET), |
64 | .length = (ITCM_END - ITCM_OFFSET + 1), | 63 | .length = (ITCM_END - ITCM_OFFSET + 1), |
65 | .type = MT_UNCACHED | 64 | .type = MT_MEMORY_ITCM |
66 | } | 65 | } |
67 | }; | 66 | }; |
68 | 67 | ||