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/x86_64 - Fix task switching
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
arch
/
x86_64
/
lib.c
diff --git
a/KernelLand/Kernel/arch/x86_64/lib.c
b/KernelLand/Kernel/arch/x86_64/lib.c
index
85dda82
..
60770f6
100644
(file)
--- a/
KernelLand/Kernel/arch/x86_64/lib.c
+++ b/
KernelLand/Kernel/arch/x86_64/lib.c
@@
-88,6
+88,8
@@
void SHORTLOCK(struct sShortSpinlock *Lock)
Lock->Depth ++;
return ;
}
+ #else
+ ASSERT( !CPU_HAS_LOCK(Lock) );
#endif
// Wait for another CPU to release
UCC
git Repository :: git.ucc.asn.au