powerpc: ignore the pkey system calls for now
PATCH 1/1 powerpc: ignore the pkey system calls for now
Eliminates warning messages:
<stdin>:1316:2: warning: #warning syscall pkey_mprotect not implemented [-Wcpp] <stdin>:1319:2: warning: #warning syscall pkey_alloc not implemented [-Wcpp] <stdin>:1322:2: warning: #warning syscall pkey_free not implemented [-Wcpp]
Hopefully we will remember to revert this commit if we ever implement them.
--- arch/powerpc/include/asm/unistd.h | 4 ++++ 1 file changed, 4 insertions(+)
arch/powerpc/include/asm/unistd.h +4 -0
@@ -16,6 +16,10 @@#define __NR__exit __NR_exit +#define __IGNORE_pkey_mprotect +#define __IGNORE_pkey_alloc +#define __IGNORE_pkey_free +#ifndef __ASSEMBLY__#include <linux/types.h>
Signature · 5 lines
2.9.3 -- Cheers, Stephen Rothwell
Quoted 10 lines · Stephen Rothwell
Eliminates warning messages:
<stdin>:1316:2: warning: #warning syscall
pkey_mprotectnot implemented [-Wcpp] <stdin>:1319:2: warning: #warning syscallpkey_allocnot implemented [-Wcpp] <stdin>:1322:2: warning: #warning syscallpkey_freenot implemented [-Wcpp]Hopefully we will remember to revert this commit if we ever implement them.
Signed-off-by Stephen Rothwell <[email protected]>
That makes sense for now
Michael Ellerman
AppliedQuoted 11 lines · Stephen Rothwell
Eliminates warning messages:
<stdin>:1316:2: warning: #warning syscall
pkey_mprotectnot implemented [-Wcpp] <stdin>:1319:2: warning: #warning syscallpkey_allocnot implemented [-Wcpp] <stdin>:1322:2: warning: #warning syscallpkey_freenot implemented [-Wcpp]Hopefully we will remember to revert this commit if we ever implement them.
Signed-off-by Stephen Rothwell <[email protected]>Acked-by Balbir Singh <[email protected]>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/78914ff0843623ee6dbeae92fa0bb8
cheers