|
@@ -1128,6 +1128,7 @@ idtentry machine_check do_mce has_error_code=0 paranoid=1
|
|
* Return: ebx=0: need swapgs on exit, ebx=1: otherwise
|
|
* Return: ebx=0: need swapgs on exit, ebx=1: otherwise
|
|
*/
|
|
*/
|
|
ENTRY(paranoid_entry)
|
|
ENTRY(paranoid_entry)
|
|
|
|
+ UNWIND_HINT_FUNC
|
|
cld
|
|
cld
|
|
movl $1, %ebx
|
|
movl $1, %ebx
|
|
movl $MSR_GS_BASE, %ecx
|
|
movl $MSR_GS_BASE, %ecx
|
|
@@ -1141,7 +1142,7 @@ ENTRY(paranoid_entry)
|
|
SAVE_AND_SWITCH_TO_KERNEL_CR3 scratch_reg=%rax save_reg=%r14
|
|
SAVE_AND_SWITCH_TO_KERNEL_CR3 scratch_reg=%rax save_reg=%r14
|
|
|
|
|
|
ret
|
|
ret
|
|
-ENDPROC(paranoid_entry)
|
|
|
|
|
|
+END(paranoid_entry)
|
|
|
|
|
|
/*
|
|
/*
|
|
* "Paranoid" exit path from exception stack. This is invoked
|
|
* "Paranoid" exit path from exception stack. This is invoked
|