Merge tag 'sched-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / csky / abiv2 / sysdep.h
blobbbbedfd3477740cf0a9c1c810ee1735da1cb31bf
1 /* SPDX-License-Identifier: GPL-2.0 */
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
4 #ifndef __SYSDEP_H
5 #define __SYSDEP_H
7 #ifdef __ASSEMBLER__
9 #if defined(__CK860__)
10 #define LABLE_ALIGN \
11 .balignw 16, 0x6c03
13 #define PRE_BNEZAD(R)
15 #define BNEZAD(R, L) \
16 bnezad R, L
17 #else
18 #define LABLE_ALIGN \
19 .balignw 8, 0x6c03
21 #define PRE_BNEZAD(R) \
22 subi R, 1
24 #define BNEZAD(R, L) \
25 bnez R, L
26 #endif
28 #endif
30 #endif