summaryrefslogtreecommitdiffstats
path: root/arch/arm/mm
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-03-03 01:11:56 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2022-03-03 01:11:56 +0100
commit7e3d76139b5da7f58bda13c485e8e208ffce5c9c (patch)
tree2002e8c7f2050bba050940ce51c91cce0078ac0f /arch/arm/mm
parentMerge tag 'erofs-for-5.17-rc7-fixes' of git://git.kernel.org/pub/scm/linux/ke... (diff)
parentARM: 9182/1: mmu: fix returns from early_param() and __setup() functions (diff)
downloadlinux-7e3d76139b5da7f58bda13c485e8e208ffce5c9c.tar.xz
linux-7e3d76139b5da7f58bda13c485e8e208ffce5c9c.zip
Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm
Pull ARM fixes from Russell King: - Fix kgdb breakpoint for Thumb2 - Fix dependency for BITREVERSE kconfig - Fix nommu early_params and __setup returns * tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm: ARM: 9182/1: mmu: fix returns from early_param() and __setup() functions ARM: 9178/1: fix unmet dependency on BITREVERSE for HAVE_ARCH_BITREVERSE ARM: Fix kgdb breakpoint for Thumb2
Diffstat (limited to 'arch/arm/mm')
-rw-r--r--arch/arm/mm/mmu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c
index 274e4f73fd33..5e2be37a198e 100644
--- a/arch/arm/mm/mmu.c
+++ b/arch/arm/mm/mmu.c
@@ -212,12 +212,14 @@ early_param("ecc", early_ecc);
static int __init early_cachepolicy(char *p)
{
pr_warn("cachepolicy kernel parameter not supported without cp15\n");
+ return 0;
}
early_param("cachepolicy", early_cachepolicy);
static int __init noalign_setup(char *__unused)
{
pr_warn("noalign kernel parameter not supported without cp15\n");
+ return 1;
}
__setup("noalign", noalign_setup);