Fix a panic when rebooting a SMP machine, when option STOP_NMI is used,
nmi handler is used to stop other processors, nmi hander calls trap(), however, trap() now accepts a pointer rather than a reference, this was changed by kmacy@.
This commit is contained in:
parent
afae638809
commit
4b0f4e9d9e
@ -365,6 +365,7 @@ nmi_needswapgs:
|
||||
/* Note: this label is also used by ddb and gdb: */
|
||||
nmi_calltrap:
|
||||
FAKE_MCOUNT(TF_RIP(%rsp))
|
||||
movq %rsp, %rdi
|
||||
call trap
|
||||
MEXITCOUNT
|
||||
testl %ebx,%ebx
|
||||
|
Loading…
Reference in New Issue
Block a user