summaryrefslogtreecommitdiffstats
path: root/arch/avr32/include
diff options
context:
space:
mode:
authorHans-Christian Noren Egtvedt <egtvedt@samfundet.no>2016-12-12 09:23:09 +0100
committerHans-Christian Noren Egtvedt <egtvedt@samfundet.no>2016-12-12 09:24:13 +0100
commit8712a5b807502e0772a5127ef6de4ff4a42edc21 (patch)
tree9c148c2a5c49f003b4968dd9347172f9efe57349 /arch/avr32/include
parent79ba1814dafc8f23fc518f7fe1ab79055b60803e (diff)
downloadlinux-stable-8712a5b807502e0772a5127ef6de4ff4a42edc21.tar.gz
linux-stable-8712a5b807502e0772a5127ef6de4ff4a42edc21.tar.bz2
linux-stable-8712a5b807502e0772a5127ef6de4ff4a42edc21.zip
avr32: wire up pkey syscalls
This patch wires up the new pkey_mprotect, pkey_alloc and pkey_free syscalls on AVR32.
Diffstat (limited to 'arch/avr32/include')
-rw-r--r--arch/avr32/include/uapi/asm/unistd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/avr32/include/uapi/asm/unistd.h b/arch/avr32/include/uapi/asm/unistd.h
index 2c8a0d2b6c30..236505d889d0 100644
--- a/arch/avr32/include/uapi/asm/unistd.h
+++ b/arch/avr32/include/uapi/asm/unistd.h
@@ -340,5 +340,8 @@
#define __NR_copy_file_range 325
#define __NR_preadv2 326
#define __NR_pwritev2 327
+#define __NR_pkey_mprotect 328
+#define __NR_pkey_alloc 329
+#define __NR_pkey_free 330
#endif /* _UAPI__ASM_AVR32_UNISTD_H */