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