All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] powerpc: ignore the pkey system calls for now
@ 2016-10-17 22:33 Stephen Rothwell
  2016-10-18  7:05 ` Balbir Singh
  2016-10-21 22:02 ` Michael Ellerman
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Rothwell @ 2016-10-17 22:33 UTC (permalink / raw)
  To: Michael Ellerman, Benjamin Herrenschmidt; +Cc: PowerPC

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.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 arch/powerpc/include/asm/unistd.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/powerpc/include/asm/unistd.h b/arch/powerpc/include/asm/unistd.h
index cf12c580f6b2..e8cdfec8d512 100644
--- a/arch/powerpc/include/asm/unistd.h
+++ b/arch/powerpc/include/asm/unistd.h
@@ -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>
-- 
2.9.3

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] powerpc: ignore the pkey system calls for now
  2016-10-17 22:33 [PATCH] powerpc: ignore the pkey system calls for now Stephen Rothwell
@ 2016-10-18  7:05 ` Balbir Singh
  2016-10-21 22:02 ` Michael Ellerman
  1 sibling, 0 replies; 3+ messages in thread
From: Balbir Singh @ 2016-10-18  7:05 UTC (permalink / raw)
  To: Stephen Rothwell, Michael Ellerman, Benjamin Herrenschmidt; +Cc: PowerPC



On 18/10/16 09:33, Stephen Rothwell wrote:
> 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.
> 
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

That makes sense for now

Acked-by: Balbir Singh <bsingharora@gmail.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: powerpc: ignore the pkey system calls for now
  2016-10-17 22:33 [PATCH] powerpc: ignore the pkey system calls for now Stephen Rothwell
  2016-10-18  7:05 ` Balbir Singh
@ 2016-10-21 22:02 ` Michael Ellerman
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Ellerman @ 2016-10-21 22:02 UTC (permalink / raw)
  To: Stephen Rothwell, Benjamin Herrenschmidt; +Cc: PowerPC

On Mon, 2016-17-10 at 22:33:44 UTC, Stephen Rothwell wrote:
> 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.
> 
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Acked-by: Balbir Singh <bsingharora@gmail.com>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/78914ff0843623ee6dbeae92fa0bb8

cheers

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-21 22:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-17 22:33 [PATCH] powerpc: ignore the pkey system calls for now Stephen Rothwell
2016-10-18  7:05 ` Balbir Singh
2016-10-21 22:02 ` Michael Ellerman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.