]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: ssbd: Drop #ifdefs for PR_SPEC_STORE_BYPASS
authorWill Deacon <will.deacon@arm.com>
Fri, 15 Jun 2018 10:50:42 +0000 (11:50 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 14 Sep 2018 16:46:15 +0000 (17:46 +0100)
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>
arch/arm64/kernel/ssbd.c

index 3432e5ef9f41882c06462b7f3ec4ff91f02fd931..07b12c034ec2047f3ab50873cd2593e7ac669717 100644 (file)
@@ -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 */