diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/Kconfig | 2 | ||||
-rw-r--r-- | arch/arm/kernel/head-common.S | 3 | ||||
-rw-r--r-- | arch/arm/kernel/smp_twd.c | 2 | ||||
-rw-r--r-- | arch/arm/mm/init.c | 2 | ||||
-rw-r--r-- | arch/arm/mm/mmu.c | 2 |
5 files changed, 7 insertions, 4 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 0ac9be677ebb..ba412e02ec0c 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -1316,7 +1316,7 @@ config ARM_ERRATA_754327 | |||
1316 | 1316 | ||
1317 | config ARM_ERRATA_364296 | 1317 | config ARM_ERRATA_364296 |
1318 | bool "ARM errata: Possible cache data corruption with hit-under-miss enabled" | 1318 | bool "ARM errata: Possible cache data corruption with hit-under-miss enabled" |
1319 | depends on CPU_V6 && !SMP | 1319 | depends on CPU_V6 |
1320 | help | 1320 | help |
1321 | This options enables the workaround for the 364296 ARM1136 | 1321 | This options enables the workaround for the 364296 ARM1136 |
1322 | r0p2 erratum (possible cache data corruption with | 1322 | r0p2 erratum (possible cache data corruption with |
diff --git a/arch/arm/kernel/head-common.S b/arch/arm/kernel/head-common.S index 5b391a689b47..76ab5ca50610 100644 --- a/arch/arm/kernel/head-common.S +++ b/arch/arm/kernel/head-common.S | |||
@@ -133,6 +133,9 @@ ENTRY(lookup_processor_type) | |||
133 | ldmfd sp!, {r4 - r6, r9, pc} | 133 | ldmfd sp!, {r4 - r6, r9, pc} |
134 | ENDPROC(lookup_processor_type) | 134 | ENDPROC(lookup_processor_type) |
135 | 135 | ||
136 | __FINIT | ||
137 | .text | ||
138 | |||
136 | /* | 139 | /* |
137 | * Read processor ID register (CP#15, CR0), and look up in the linker-built | 140 | * Read processor ID register (CP#15, CR0), and look up in the linker-built |
138 | * supported processor list. Note that we can't use the absolute addresses | 141 | * supported processor list. Note that we can't use the absolute addresses |
diff --git a/arch/arm/kernel/smp_twd.c b/arch/arm/kernel/smp_twd.c index 90525d9d290b..f6fd1d4398c6 100644 --- a/arch/arm/kernel/smp_twd.c +++ b/arch/arm/kernel/smp_twd.c | |||
@@ -120,7 +120,7 @@ static int twd_rate_change(struct notifier_block *nb, | |||
120 | * changing cpu. | 120 | * changing cpu. |
121 | */ | 121 | */ |
122 | if (flags == POST_RATE_CHANGE) | 122 | if (flags == POST_RATE_CHANGE) |
123 | smp_call_function(twd_update_frequency, | 123 | on_each_cpu(twd_update_frequency, |
124 | (void *)&cnd->new_rate, 1); | 124 | (void *)&cnd->new_rate, 1); |
125 | 125 | ||
126 | return NOTIFY_OK; | 126 | return NOTIFY_OK; |
diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index 6833cbead6cc..15225d829d71 100644 --- a/arch/arm/mm/init.c +++ b/arch/arm/mm/init.c | |||
@@ -597,7 +597,7 @@ void __init mem_init(void) | |||
597 | 597 | ||
598 | #ifdef CONFIG_SA1111 | 598 | #ifdef CONFIG_SA1111 |
599 | /* now that our DMA memory is actually so designated, we can free it */ | 599 | /* now that our DMA memory is actually so designated, we can free it */ |
600 | free_reserved_area(__va(PHYS_PFN_OFFSET), swapper_pg_dir, -1, NULL); | 600 | free_reserved_area(__va(PHYS_OFFSET), swapper_pg_dir, -1, NULL); |
601 | #endif | 601 | #endif |
602 | 602 | ||
603 | free_highpages(); | 603 | free_highpages(); |
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index d7229d28c7f8..4f56617a2392 100644 --- a/arch/arm/mm/mmu.c +++ b/arch/arm/mm/mmu.c | |||
@@ -950,7 +950,7 @@ void __init debug_ll_io_init(void) | |||
950 | map.virtual &= PAGE_MASK; | 950 | map.virtual &= PAGE_MASK; |
951 | map.length = PAGE_SIZE; | 951 | map.length = PAGE_SIZE; |
952 | map.type = MT_DEVICE; | 952 | map.type = MT_DEVICE; |
953 | create_mapping(&map); | 953 | iotable_init(&map, 1); |
954 | } | 954 | } |
955 | #endif | 955 | #endif |
956 | 956 | ||