1 /* SPDX-License-Identifier: GPL-2.0 */
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
4 #ifndef __ABI_REG_OPS_H
5 #define __ABI_REG_OPS_H
6 #include <asm/reg_ops.h>
11 asm volatile("cprcr %0, "reg"\n":"=b"(tmp)); \
15 #define cpwcr(reg, val) \
17 asm volatile("cpwcr %0, "reg"\n"::"b"(val)); \
20 static inline unsigned int mfcr_hint(void)
25 static inline unsigned int mfcr_ccr2(void) { return 0; }
27 #endif /* __ABI_REG_OPS_H */