1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
3 * This file is never included by application software unless
4 * explicitly requested (e.g., via linux/types.h) in which case the
5 * application is Linux specific so (user-) name space pollution is
6 * not a major issue. However, for interoperability, libraries still
7 * need to be careful to avoid a name clashes.
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version
12 * 2 of the License, or (at your option) any later version.
14 #ifndef _UAPI_ASM_POWERPC_TYPES_H
15 #define _UAPI_ASM_POWERPC_TYPES_H
18 * This is here because we used to use l64 for 64bit powerpc
19 * and we don't want to impact user mode with our change to ll64
22 * However, some user programs are fine with this. They can
23 * flag __SANE_USERSPACE_TYPES__ to get int-ll64.h here.
25 #if !defined(__SANE_USERSPACE_TYPES__) && defined(__powerpc64__) && !defined(__KERNEL__)
26 # include <asm-generic/int-l64.h>
28 # include <asm-generic/int-ll64.h>
36 } __attribute__((aligned(16))) __vector128;
38 #endif /* __ASSEMBLY__ */
41 #endif /* _UAPI_ASM_POWERPC_TYPES_H */