Use popfl to get the flags off the stack instead of popf.
Submitted by: davidxu
This commit is contained in:
parent
96524a52b6
commit
6c2a22923c
@ -106,6 +106,6 @@ ENTRY(_thread_switch)
|
||||
movl %ebx,(%ecx)
|
||||
popl %ecx /* %ecx off stack */
|
||||
popl %ebx /* %ebx off stack */
|
||||
popf /* flags off stack */
|
||||
popfl /* flags off stack */
|
||||
5: ret /* %eip off stack */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user