1 #ifndef _SPARC64_BACKOFF_H
2 #define _SPARC64_BACKOFF_H
4 #define BACKOFF_LIMIT (4 * 1024)
8 #define BACKOFF_SETUP(reg) \
11 #define BACKOFF_LABEL(spin_label, continue_label) \
14 #define BACKOFF_SPIN(reg, tmp, label) \
16 88: brnz,pt tmp, 88b; \
18 set BACKOFF_LIMIT, tmp; \
27 #define BACKOFF_SETUP(reg)
29 #define BACKOFF_LABEL(spin_label, continue_label) \
32 #define BACKOFF_SPIN(reg, tmp, label)
36 #endif /* _SPARC64_BACKOFF_H */