projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make the dynamic linker find its path file relative to its own location
[musl]
/
arch
/
x86_64
/
atomic.h
diff --git
a/arch/x86_64/atomic.h
b/arch/x86_64/atomic.h
index
3235db1
..
0d3da6f
100644
(file)
--- a/
arch/x86_64/atomic.h
+++ b/
arch/x86_64/atomic.h
@@
-118,5
+118,10
@@
static inline void a_spin()
__asm__ __volatile__( "pause" : : : "memory" );
}
+static inline void a_crash()
+{
+ __asm__ __volatile__( "hlt" : : : "memory" );
+}
+
#endif