remove unused PSW restore code
. now done in-kernel so IOPL gets restored Change-Id: I9905d2844a4715004054a788613ff7efd02a227d
This commit is contained in:
parent
c9278f9170
commit
3a9e392b3a
1 changed files with 0 additions and 4 deletions
|
@ -43,8 +43,6 @@ ENTRY(usermapped_ ## name ## _sysenter) ;\
|
|||
SETARGS /* call-specific register setup */ ;\
|
||||
sysenter /* disappear into kernel */ ;\
|
||||
0: ;\
|
||||
push %edi /* kernel has desired PSW in %edi */ ;\
|
||||
popf /* set PSW kernel wants us to have */ ;\
|
||||
mov %ebx, %ecx /* return w. state mangled; save %ebx */;\
|
||||
pop %edi ;\
|
||||
pop %esi ;\
|
||||
|
@ -69,8 +67,6 @@ ENTRY(usermapped_ ## name ## _syscall) ;\
|
|||
SETARGS /* call-specific register setup */ ;\
|
||||
movl %ecx, %edx /* %ecx is clobbered by SYSCALL */ ;\
|
||||
syscall /* disappear into kernel */ ;\
|
||||
push %edi /* kernel has desired PSW in %edi */ ;\
|
||||
popf /* set PSW kernel wants us to have */ ;\
|
||||
mov %ebx, %ecx /* return w. state mangled; save %ebx */;\
|
||||
pop %edi ;\
|
||||
pop %esi ;\
|
||||
|
|
Loading…
Reference in a new issue