1 #ifndef _SPARC64_BACKOFF_H
2 #define _SPARC64_BACKOFF_H
4 #define BACKOFF_LIMIT (4 * 1024)
8 #define BACKOFF_SETUP(reg) \
11 #define BACKOFF_SPIN(reg, tmp, label) \
13 88: brnz,pt tmp, 88b; \
15 cmp reg, BACKOFF_LIMIT; \
23 #define BACKOFF_SETUP(reg)
24 #define BACKOFF_SPIN(reg, tmp, label) \
30 #endif /* _SPARC64_BACKOFF_H */