![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 0002 /* 0003 * This file is subject to the terms and conditions of the GNU General Public 0004 * License. See the file "COPYING" in the main directory of this archive 0005 * for more details. 0006 * 0007 * Copyright (C) 2014 by Ralf Baechle <ralf@linux-mips.org> 0008 */ 0009 #ifndef __UAPI_ASM_BITFIELD_H 0010 #define __UAPI_ASM_BITFIELD_H 0011 0012 /* 0013 * * Damn ... bitfields depend from byteorder :-( 0014 * */ 0015 #ifdef __MIPSEB__ 0016 #define __BITFIELD_FIELD(field, more) \ 0017 field; \ 0018 more 0019 0020 #elif defined(__MIPSEL__) 0021 0022 #define __BITFIELD_FIELD(field, more) \ 0023 more \ 0024 field; 0025 0026 #else /* !defined (__MIPSEB__) && !defined (__MIPSEL__) */ 0027 #error "MIPS but neither __MIPSEL__ nor __MIPSEB__?" 0028 #endif 0029 0030 #endif /* __UAPI_ASM_BITFIELD_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |