OpenCloudOS-Kernel/arch/parisc/mm
Helge Deller d0cf62fb63 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: <stable@vger.kernel.org> # 3.18+
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Helge Deller <deller@gmx.de>
2015-11-08 20:27:01 +01:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fault.c parisc: Additionally check for in_atomic() in page fault handler 2015-09-08 15:30:56 +02:00
init.c parisc: Fixes and cleanups in kernel uapi header files 2015-11-08 20:27:01 +01:00
ioremap.c parisc: fix wrong page aligned size calculation in ioremapping code 2010-08-12 08:43:29 -07:00