|
@@ -11,9 +11,7 @@
|
|
|
|
|
|
/*
|
|
/*
|
|
* prctl interface for SSBD
|
|
* 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)
|
|
static int ssbd_prctl_set(struct task_struct *task, unsigned long ctrl)
|
|
{
|
|
{
|
|
int state = arm64_get_ssbd_state();
|
|
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;
|
|
return -ENODEV;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-#endif /* PR_SPEC_STORE_BYPASS */
|
|
|