Merge tag 'v3.3.7' into 3.3/master
[zen-stable.git] / arch / xtensa / include / asm / types.h
blob6d4db7e8ffac608520d9985a3680fddcfcfc9a1b
1 /*
2 * include/asm-xtensa/types.h
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
6 * for more details.
8 * Copyright (C) 2001 - 2005 Tensilica Inc.
9 */
11 #ifndef _XTENSA_TYPES_H
12 #define _XTENSA_TYPES_H
14 #include <asm-generic/int-ll64.h>
16 #ifdef __ASSEMBLY__
17 # define __XTENSA_UL(x) (x)
18 # define __XTENSA_UL_CONST(x) x
19 #else
20 # define __XTENSA_UL(x) ((unsigned long)(x))
21 # define __XTENSA_UL_CONST(x) x##UL
22 #endif
24 #ifndef __ASSEMBLY__
27 * These aren't exported outside the kernel to avoid name space clashes
29 #ifdef __KERNEL__
31 #define BITS_PER_LONG 32
33 #endif /* __KERNEL__ */
34 #endif
36 #endif /* _XTENSA_TYPES_H */