summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/cpufeature.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2019-05-01 16:34:56 +0200
committerWill Deacon <will.deacon@arm.com>2019-05-01 16:34:56 +0200
commit50abbe19623e08e2aa34e0e526bd6115569f3dc3 (patch)
treeecaddb898d671847f70c40fcab5fd115dacc1a1e /arch/arm64/include/asm/cpufeature.h
parentMerge branch 'for-next/futex' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff)
parentDocumentation: Add ARM64 to kernel-parameters.rst (diff)
downloadlinux-50abbe19623e08e2aa34e0e526bd6115569f3dc3.tar.xz
linux-50abbe19623e08e2aa34e0e526bd6115569f3dc3.zip
Merge branch 'for-next/mitigations' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux into for-next/core
Diffstat (limited to 'arch/arm64/include/asm/cpufeature.h')
-rw-r--r--arch/arm64/include/asm/cpufeature.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm64/include/asm/cpufeature.h b/arch/arm64/include/asm/cpufeature.h
index a3f028f82def..f210bcf096f7 100644
--- a/arch/arm64/include/asm/cpufeature.h
+++ b/arch/arm64/include/asm/cpufeature.h
@@ -633,11 +633,7 @@ static inline int arm64_get_ssbd_state(void)
#endif
}
-#ifdef CONFIG_ARM64_SSBD
void arm64_set_ssbd_mitigation(bool state);
-#else
-static inline void arm64_set_ssbd_mitigation(bool state) {}
-#endif
extern int do_emulate_mrs(struct pt_regs *regs, u32 sys_reg, u32 rt);