1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef __ABI_REG_OPS_H
4 #define __ABI_REG_OPS_H
5 #include <asm/reg_ops.h>
10 asm volatile("cprcr %0, "reg"\n":"=b"(tmp)); \
14 #define cpwcr(reg, val) \
16 asm volatile("cpwcr %0, "reg"\n"::"b"(val)); \
19 static inline unsigned int mfcr_hint(void)
24 static inline unsigned int mfcr_ccr2(void) { return 0; }
26 #endif /* __ABI_REG_OPS_H */