Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

parisc: move __IGNORE* entries to non uapi header

All the __IGNORE* entries are resides in the uapi header
file move to non uapi header asm/unistd.h as it is not
used by any user space applications.

It is correct to keep __IGNORE* entry in non uapi header
asm/unistd.h while uapi/asm/unistd.h must hold information
only useful for user space applications.

One of the patch in this patch series will generate uapi
header file. The information which directly used by the
user space application must be present in uapi file.

Signed-off-by: Firoz Khan <firoz.khan@linaro.org>
Acked-by: Helge Deller <deller@gmx.de>
Signed-off-by: Helge Deller <deller@gmx.de>

authored by

Firoz Khan and committed by
Helge Deller
dfddd1a8 c4bff35c

+6 -7
+6
arch/parisc/include/asm/unistd.h
··· 8 8 9 9 #define SYS_ify(syscall_name) __NR_##syscall_name 10 10 11 + #define __IGNORE_select /* newselect */ 12 + #define __IGNORE_fadvise64 /* fadvise64_64 */ 13 + #define __IGNORE_pkey_mprotect 14 + #define __IGNORE_pkey_alloc 15 + #define __IGNORE_pkey_free 16 + 11 17 #ifndef ASM_LINE_SEP 12 18 # define ASM_LINE_SEP ; 13 19 #endif
-7
arch/parisc/include/uapi/asm/unistd.h
··· 368 368 369 369 #define __NR_Linux_syscalls (__NR_io_pgetevents + 1) 370 370 371 - 372 - #define __IGNORE_select /* newselect */ 373 - #define __IGNORE_fadvise64 /* fadvise64_64 */ 374 - #define __IGNORE_pkey_mprotect 375 - #define __IGNORE_pkey_alloc 376 - #define __IGNORE_pkey_free 377 - 378 371 #define LINUX_GATEWAY_ADDR 0x100 379 372 380 373 #endif /* _UAPI_ASM_PARISC_UNISTD_H_ */