git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: make pci device driver loading passive, pci bus scanner will not load them...
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
spike.h
diff --git
a/lunaix-os/includes/lunaix/spike.h
b/lunaix-os/includes/lunaix/spike.h
index a2a0e21d5f66c1c56e33e2947306fb930d78ca2e..652fda874c821be670406d749125637431a95fab 100644
(file)
--- a/
lunaix-os/includes/lunaix/spike.h
+++ b/
lunaix-os/includes/lunaix/spike.h
@@
-64,15
+64,6
@@
: 0) \
: (31 - __builtin_clz(x)))
: 0) \
: (31 - __builtin_clz(x)))
-inline static void noret
-spin()
-{
- volatile int __infloop = 1;
- while (__infloop)
- ;
- __builtin_unreachable();
-}
-
#ifndef __LUNAIXOS_NASSERT__
#define assert(cond) \
if (!(cond)) { \
#ifndef __LUNAIXOS_NASSERT__
#define assert(cond) \
if (!(cond)) { \