2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
6 * Copyright (C) 2014 by Ralf Baechle <ralf@linux-mips.org>
8 #ifndef __UAPI_ASM_BITFIELD_H
9 #define __UAPI_ASM_BITFIELD_H
12 * * Damn ... bitfields depend from byteorder :-(
15 #define __BITFIELD_FIELD(field, more) \
19 #elif defined(__MIPSEL__)
21 #define __BITFIELD_FIELD(field, more) \
25 #else /* !defined (__MIPSEB__) && !defined (__MIPSEL__) */
26 #error "MIPS but neither __MIPSEL__ nor __MIPSEB__?"
29 #endif /* __UAPI_ASM_BITFIELD_H */