183596729SDavid Howells /* 283596729SDavid Howells * include/asm-xtensa/types.h 383596729SDavid Howells * 483596729SDavid Howells * This file is subject to the terms and conditions of the GNU General Public 583596729SDavid Howells * License. See the file "COPYING" in the main directory of this archive 683596729SDavid Howells * for more details. 783596729SDavid Howells * 883596729SDavid Howells * Copyright (C) 2001 - 2005 Tensilica Inc. 983596729SDavid Howells */ 1083596729SDavid Howells 1183596729SDavid Howells #ifndef _UAPI_XTENSA_TYPES_H 1283596729SDavid Howells #define _UAPI_XTENSA_TYPES_H 1383596729SDavid Howells 1483596729SDavid Howells #include <asm-generic/int-ll64.h> 1583596729SDavid Howells 1683596729SDavid Howells #ifdef __ASSEMBLY__ 1783596729SDavid Howells # define __XTENSA_UL(x) (x) 1883596729SDavid Howells # define __XTENSA_UL_CONST(x) x 1983596729SDavid Howells #else 2083596729SDavid Howells # define __XTENSA_UL(x) ((unsigned long)(x)) 21d39af902SMax Filippov # define ___XTENSA_UL_CONST(x) x##UL 22d39af902SMax Filippov # define __XTENSA_UL_CONST(x) ___XTENSA_UL_CONST(x) 2383596729SDavid Howells #endif 2483596729SDavid Howells 2583596729SDavid Howells #ifndef __ASSEMBLY__ 2683596729SDavid Howells 2783596729SDavid Howells #endif 2883596729SDavid Howells 2983596729SDavid Howells #endif /* _UAPI_XTENSA_TYPES_H */ 30