aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/ssbd.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2018-06-15 11:50:42 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2018-09-14 17:46:15 +0100
commit2d1b2a91d56b19636b740ea70c8399d1df249f20 (patch)
treebd2f9d3d71ed35b893dd9952d51629e8f8aefd63 /arch/arm64/kernel/ssbd.c
parentarm64: cpufeature: Detect SSBS and advertise to userspace (diff)
downloadlinux-dev-2d1b2a91d56b19636b740ea70c8399d1df249f20.tar.xz
linux-dev-2d1b2a91d56b19636b740ea70c8399d1df249f20.zip
arm64: ssbd: Drop #ifdefs for PR_SPEC_STORE_BYPASS
Now that we're all merged nicely into mainline, there's no need to check to see if PR_SPEC_STORE_BYPASS is defined. Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to '')
-rw-r--r--arch/arm64/kernel/ssbd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm64/kernel/ssbd.c b/arch/arm64/kernel/ssbd.c
index 3432e5ef9f41..07b12c034ec2 100644
--- a/arch/arm64/kernel/ssbd.c
+++ b/arch/arm64/kernel/ssbd.c
@@ -11,9 +11,7 @@
/*
* prctl interface for SSBD
- * FIXME: Drop the below ifdefery once merged in 4.18.
*/
-#ifdef PR_SPEC_STORE_BYPASS
static int ssbd_prctl_set(struct task_struct *task, unsigned long ctrl)
{
int state = arm64_get_ssbd_state();
@@ -107,4 +105,3 @@ int arch_prctl_spec_ctrl_get(struct task_struct *task, unsigned long which)
return -ENODEV;
}
}
-#endif /* PR_SPEC_STORE_BYPASS */