diff options
| author | Helge Deller <[email protected]> | 2015-11-06 22:36:01 +0000 |
|---|---|---|
| committer | Helge Deller <[email protected]> | 2015-11-08 19:27:01 +0000 |
| commit | d0cf62fb63f760e98244d31396b3b58f3a1e326b (patch) | |
| tree | 8e8b2587b5b0e5f1e1206fba61144f75fa046934 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | parisc: Drop hpux_stat64 struct from stat.h header file (diff) | |
| download | kernel-d0cf62fb63f760e98244d31396b3b58f3a1e326b.tar.gz kernel-d0cf62fb63f760e98244d31396b3b58f3a1e326b.zip | |
parisc: Fixes and cleanups in kernel uapi header files
This patch fixes some bugs and partly cleans up the parisc uapi header
files to what glibc defined:
- compat_semid64_ds was wrong and did not take the endianess into
account
- ipc64_perm exported userspace types which broke building userspace
packages on debian (e.g. trinity)
- ipc64_perm needs to use a 32bit mode_t on 64bit kernel
- msqid64_ds and semid64_ds needs unsigned longs for various struct members
- shmid64_ds exported size_t instead of __kernel_size_t
And finally add some compile-time checks for the sizes of those structs
to avoid future breakage.
Runtime-tested with the Linux Test Project (LTP) testsuite.
Cc: <[email protected]> # 3.18+
Reviewed-by: Arnd Bergmann <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
