runtime: SPARCv9 fixes for lfstack.
From Rainer Orth. From-SVN: r195534
This commit is contained in:
parent
83ba4d6f2b
commit
656e11a924
|
@ -19,7 +19,10 @@
|
||||||
|
|
||||||
#if __SIZEOF_POINTER__ == 8 && defined(__sparc__)
|
#if __SIZEOF_POINTER__ == 8 && defined(__sparc__)
|
||||||
// SPARC64 uses all 64 bits of virtual addresses. Use low-order three
|
// SPARC64 uses all 64 bits of virtual addresses. Use low-order three
|
||||||
bits as ABA counter.
|
// bits as ABA counter.
|
||||||
|
#undef PTR_BITS
|
||||||
|
#undef CNT_MASK
|
||||||
|
#undef PTR_MASK
|
||||||
#define PTR_BITS 0
|
#define PTR_BITS 0
|
||||||
#define CNT_MASK 7
|
#define CNT_MASK 7
|
||||||
#define PTR_MASK ((0ull-1)<<3)
|
#define PTR_MASK ((0ull-1)<<3)
|
||||||
|
|
Loading…
Reference in New Issue