|
@@ -266,7 +266,7 @@ static unsigned long __init sme_pgtable_calc(unsigned long len)
|
|
|
return entries + tables;
|
|
|
}
|
|
|
|
|
|
-void __init __nostackprotector sme_encrypt_kernel(struct boot_params *bp)
|
|
|
+void __init sme_encrypt_kernel(struct boot_params *bp)
|
|
|
{
|
|
|
unsigned long workarea_start, workarea_end, workarea_len;
|
|
|
unsigned long execute_start, execute_end, execute_len;
|
|
@@ -468,7 +468,7 @@ void __init __nostackprotector sme_encrypt_kernel(struct boot_params *bp)
|
|
|
native_write_cr3(__native_read_cr3());
|
|
|
}
|
|
|
|
|
|
-void __init __nostackprotector sme_enable(struct boot_params *bp)
|
|
|
+void __init sme_enable(struct boot_params *bp)
|
|
|
{
|
|
|
const char *cmdline_ptr, *cmdline_arg, *cmdline_on, *cmdline_off;
|
|
|
unsigned int eax, ebx, ecx, edx;
|