Commit e2753293 authored by Dave Hansen's avatar Dave Hansen Committed by Thomas Gleixner

x86/pkeys: Fix pkeys build breakage for some non-x86 arches

Guenter Roeck reported breakage on the h8300 and c6x architectures (among
others) caused by the new memory protection keys syscalls.  This patch does
what Arnd suggested and adds them to kernel/sys_ni.c.

Fixes: a60f7b69 ("generic syscalls: Wire up memory protection keys syscalls")
Reported-and-tested-by: default avatarGuenter Roeck <>
Signed-off-by: default avatarDave Hansen <>
Acked-by: default avatarArnd Bergmann <>
Cc: Dave Hansen <>
Link: default avatarThomas Gleixner <>
parent 5f23f6d0
......@@ -250,3 +250,8 @@ cond_syscall(sys_execveat);
/* membarrier */
/* memory protection keys */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment