diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-12-31 23:12:32 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2019-01-25 17:22:50 +0100 |
commit | b41c51c8e194c0bdfb4b1778a137aea8246c86cd (patch) | |
tree | 99973f9fdc01b72f5fcfc8cd3ebf212b8ee07cc0 /arch/sparc/include | |
parent | 0d6040d4681735dfc47565de288525de405a5c99 (diff) | |
download | linux-b41c51c8e194c0bdfb4b1778a137aea8246c86cd.tar.gz linux-b41c51c8e194c0bdfb4b1778a137aea8246c86cd.tar.bz2 linux-b41c51c8e194c0bdfb4b1778a137aea8246c86cd.zip |
arch: add pkey and rseq syscall numbers everywhere
Most architectures define system call numbers for the rseq and pkey system
calls, even when they don't support the features, and perhaps never will.
Only a few architectures are missing these, so just define them anyway
for consistency. If we decide to add them later to one of these, the
system call numbers won't get out of sync then.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r-- | arch/sparc/include/asm/unistd.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/sparc/include/asm/unistd.h b/arch/sparc/include/asm/unistd.h index 5194d86ef72d..08696ea5dca8 100644 --- a/arch/sparc/include/asm/unistd.h +++ b/arch/sparc/include/asm/unistd.h @@ -59,9 +59,4 @@ #define __IGNORE_getresgid #endif -/* Sparc doesn't have protection keys. */ -#define __IGNORE_pkey_mprotect -#define __IGNORE_pkey_alloc -#define __IGNORE_pkey_free - #endif /* _SPARC_UNISTD_H */ |