1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 2/* 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. 8 * 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. 13 */ 14#ifndef _UAPI_ASM_POWERPC_TYPES_H 15#define _UAPI_ASM_POWERPC_TYPES_H 16 17/* 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 20 * in the kernel. 21 * 22 * However, some user programs are fine with this. They can 23 * flag __SANE_USERSPACE_TYPES__ to get int-ll64.h here. 24 */ 25#if !defined(__SANE_USERSPACE_TYPES__) && defined(__powerpc64__) && !defined(__KERNEL__) 26# include <asm-generic/int-l64.h> 27#else 28# include <asm-generic/int-ll64.h> 29#endif 30 31#ifndef __ASSEMBLY__ 32 33 34typedef struct { 35 __u32 u[4]; 36} __attribute__((aligned(16))) __vector128; 37 38#endif /* __ASSEMBLY__ */ 39 40 41#endif /* _UAPI_ASM_POWERPC_TYPES_H */ 42