aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/Kconfig1
-rw-r--r--arch/arm/boot/compressed/efi-header.S3
-rw-r--r--arch/arm/kernel/setup.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 4c1a35f15838..c0fcab6a5504 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1416,6 +1416,7 @@ choice
1416 config VMSPLIT_3G 1416 config VMSPLIT_3G
1417 bool "3G/1G user/kernel split" 1417 bool "3G/1G user/kernel split"
1418 config VMSPLIT_3G_OPT 1418 config VMSPLIT_3G_OPT
1419 depends on !ARM_LPAE
1419 bool "3G/1G user/kernel split (for full 1G low memory)" 1420 bool "3G/1G user/kernel split (for full 1G low memory)"
1420 config VMSPLIT_2G 1421 config VMSPLIT_2G
1421 bool "2G/2G user/kernel split" 1422 bool "2G/2G user/kernel split"
diff --git a/arch/arm/boot/compressed/efi-header.S b/arch/arm/boot/compressed/efi-header.S
index 3f7d1b74c5e0..a17ca8d78656 100644
--- a/arch/arm/boot/compressed/efi-header.S
+++ b/arch/arm/boot/compressed/efi-header.S
@@ -17,7 +17,8 @@
17 @ there. 17 @ there.
18 .inst 'M' | ('Z' << 8) | (0x1310 << 16) @ tstne r0, #0x4d000 18 .inst 'M' | ('Z' << 8) | (0x1310 << 16) @ tstne r0, #0x4d000
19#else 19#else
20 W(mov) r0, r0 20 AR_CLASS( mov r0, r0 )
21 M_CLASS( nop.w )
21#endif 22#endif
22 .endm 23 .endm
23 24
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
index 32e1a9513dc7..4e80bf7420d4 100644
--- a/arch/arm/kernel/setup.c
+++ b/arch/arm/kernel/setup.c
@@ -315,7 +315,7 @@ static void __init cacheid_init(void)
315 if (arch >= CPU_ARCH_ARMv6) { 315 if (arch >= CPU_ARCH_ARMv6) {
316 unsigned int cachetype = read_cpuid_cachetype(); 316 unsigned int cachetype = read_cpuid_cachetype();
317 317
318 if ((arch == CPU_ARCH_ARMv7M) && !cachetype) { 318 if ((arch == CPU_ARCH_ARMv7M) && !(cachetype & 0xf000f)) {
319 cacheid = 0; 319 cacheid = 0;
320 } else if ((cachetype & (7 << 29)) == 4 << 29) { 320 } else if ((cachetype & (7 << 29)) == 4 << 29) {
321 /* ARMv7 register format */ 321 /* ARMv7 register format */