projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Headers: move *-map.h headers to urcu/map/
[urcu.git]
/
urcu
/
uatomic_arch_sparc64.h
diff --git
a/urcu/uatomic_arch_sparc64.h
b/urcu/uatomic_arch_sparc64.h
index 81f95cbe91ac641aacdce2e5e2f450a9cf1ec41f..082c84750e17498b9c1c2fb7eb0b60dde919aec6 100644
(file)
--- a/
urcu/uatomic_arch_sparc64.h
+++ b/
urcu/uatomic_arch_sparc64.h
@@
-27,18
+27,6
@@
extern "C" {
#endif
extern "C" {
#endif
-#ifndef __SIZEOF_LONG__
-#ifdef __LP64__
-#define __SIZEOF_LONG__ 8
-#else
-#define __SIZEOF_LONG__ 4
-#endif
-#endif
-
-#ifndef BITS_PER_LONG
-#define BITS_PER_LONG (__SIZEOF_LONG__ * 8)
-#endif
-
/* cmpxchg */
static inline __attribute__((always_inline))
/* cmpxchg */
static inline __attribute__((always_inline))
@@
-58,7
+46,7
@@
unsigned long _uatomic_cmpxchg(void *addr, unsigned long old,
return _new;
}
return _new;
}
-#if (BITS_PER_LONG == 64)
+#if (
CAA_
BITS_PER_LONG == 64)
case 8:
{
__asm__ __volatile__ (
case 8:
{
__asm__ __volatile__ (
This page took
0.026917 seconds
and
4
git commands to generate.