Print this page
9600 LDT still not happy under KPTI
@@ -2052,25 +2052,23 @@
* every context switch by installing different context ops, depending on
* x86_featureset, at LDT creation time -- one for each combination of fast
* syscall features.
*/
-/*ARGSUSED*/
void
-cpu_fast_syscall_disable(void *arg)
+cpu_fast_syscall_disable(void)
{
if (is_x86_feature(x86_featureset, X86FSET_MSR) &&
is_x86_feature(x86_featureset, X86FSET_SEP))
cpu_sep_disable();
if (is_x86_feature(x86_featureset, X86FSET_MSR) &&
is_x86_feature(x86_featureset, X86FSET_ASYSC))
cpu_asysc_disable();
}
-/*ARGSUSED*/
void
-cpu_fast_syscall_enable(void *arg)
+cpu_fast_syscall_enable(void)
{
if (is_x86_feature(x86_featureset, X86FSET_MSR) &&
is_x86_feature(x86_featureset, X86FSET_SEP))
cpu_sep_enable();
if (is_x86_feature(x86_featureset, X86FSET_MSR) &&