git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Kernel - Fixed page fault Proc_ReturnToUser
[tpg/acess2.git]
/
Kernel
/
arch
/
x86_64
/
lib.c
diff --git
a/Kernel/arch/x86_64/lib.c
b/Kernel/arch/x86_64/lib.c
index
f7f38c8
..
f20753b
100644
(file)
--- a/
Kernel/arch/x86_64/lib.c
+++ b/
Kernel/arch/x86_64/lib.c
@@
-58,7
+58,7
@@
void SHORTLOCK(struct sShortSpinlock *Lock)
#if LOCK_DISABLE_INTS
// Save interrupt state and clear interrupts
- __ASM__ ("pushf;\n\tpop %
0
\n\tcli" : "=a"(IF));
+ __ASM__ ("pushf;\n\tpop %
%rax
\n\tcli" : "=a"(IF));
IF &= 0x200; // AND out all but the interrupt flag
#endif
UCC
git Repository :: git.ucc.asn.au