aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/system.h')
-rw-r--r--include/asm-arm/system.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-arm/system.h b/include/asm-arm/system.h
index f5eafd7ed8fa..9c744ae6c6e3 100644
--- a/include/asm-arm/system.h
+++ b/include/asm-arm/system.h
@@ -126,6 +126,12 @@ static inline int cpu_is_xsc3(void)
126} 126}
127#endif 127#endif
128 128
129#if !defined(CONFIG_CPU_XSCALE) && !defined(CONFIG_CPU_XSC3)
130#define cpu_is_xscale() 0
131#else
132#define cpu_is_xscale() 1
133#endif
134
129#define set_cr(x) \ 135#define set_cr(x) \
130 __asm__ __volatile__( \ 136 __asm__ __volatile__( \
131 "mcr p15, 0, %0, c1, c0, 0 @ set CR" \ 137 "mcr p15, 0, %0, c1, c0, 0 @ set CR" \