projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90e51e4
)
remove unused a_cas_l from or1k atomic.h
author
Rich Felker
<dalias@aerifal.cx>
Mon, 28 Jul 2014 01:59:58 +0000
(21:59 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Mon, 28 Jul 2014 01:59:58 +0000
(21:59 -0400)
this follows the same logic as in the previous commit for other archs.
arch/or1k/atomic.h
patch
|
blob
|
history
diff --git
a/arch/or1k/atomic.h
b/arch/or1k/atomic.h
index 10f75cbe7f124a59c84717697edba6d32044b992..5b0411b0a8caca5f823454fdc1ac0926e6377585 100644
(file)
--- a/
arch/or1k/atomic.h
+++ b/
arch/or1k/atomic.h
@@
-41,11
+41,6
@@
static inline void *a_cas_p(volatile void *p, void *t, void *s)
return (void *)a_cas(p, (int)t, (int)s);
}
-static inline long a_cas_l(volatile void *p, long t, long s)
-{
- return a_cas(p, t, s);
-}
-
static inline int a_swap(volatile int *x, int v)
{
int old;