From 1438602c69406e2a8bbfdeb78b2f2379f715572d Mon Sep 17 00:00:00 2001 From: Will Deacon Date: Fri, 15 Jun 2018 11:50:42 +0100 Subject: [PATCH] arm64: ssbd: Drop #ifdefs for PR_SPEC_STORE_BYPASS mainline inclusion from mainline-v4.20-rc1 commit 2d1b2a91d56b19636b740ea70c8399d1df249f20 category: feature bugzilla: 20806 CVE: NA ------------------------------------------------- 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 Signed-off-by: Catalin Marinas Signed-off-by: Yang Yingliang Reviewed-by: Xuefeng Wang Reviewed-by: Hanjun Guo Signed-off-by: Yang Yingliang --- arch/arm64/kernel/ssbd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm64/kernel/ssbd.c b/arch/arm64/kernel/ssbd.c index 388f8fc13080..0560738c1d5c 100644 --- a/arch/arm64/kernel/ssbd.c +++ b/arch/arm64/kernel/ssbd.c @@ -12,9 +12,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(); @@ -108,4 +106,3 @@ int arch_prctl_spec_ctrl_get(struct task_struct *task, unsigned long which) return -ENODEV; } } -#endif /* PR_SPEC_STORE_BYPASS */ -- GitLab