linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] ARM: unistd.h: relocate comments back to place
@ 2014-05-16  8:51 Baruch Siach
  2014-07-09 11:20 ` Baruch Siach
  0 siblings, 1 reply; 3+ messages in thread
From: Baruch Siach @ 2014-05-16  8:51 UTC (permalink / raw)
  To: linux-arm-kernel

Commit cb8db5d45 (UAPI: (Scripted) Disintegrate arch/arm/include/asm) moved
these syscall comments out of their context into the UAPI headers. Fix this.

Fixes: cb8db5d4578a ("UAPI: (Scripted) Disintegrate arch/arm/include/asm")
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
v2:
   Rebase on v3.15-rc5

Hi Arnd,

A previous version of this patch
(http://thread.gmane.org/gmane.linux.ports.arm.kernel/298234) was ignored. I
guess Russell is just overloaded. Would you ack this seemingly trivial patch so
I can put it in Russell's patches tracker?

baruch
---
 arch/arm/include/asm/unistd.h      | 10 ++++++++++
 arch/arm/include/uapi/asm/unistd.h | 11 -----------
 2 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/arch/arm/include/asm/unistd.h b/arch/arm/include/asm/unistd.h
index 43876245fc57..21ca0cebcab0 100644
--- a/arch/arm/include/asm/unistd.h
+++ b/arch/arm/include/asm/unistd.h
@@ -15,7 +15,17 @@
 
 #include <uapi/asm/unistd.h>
 
+/*
+ * This may need to be greater than __NR_last_syscall+1 in order to
+ * account for the padding in the syscall table
+ */
 #define __NR_syscalls  (384)
+
+/*
+ * *NOTE*: This is a ghost syscall private to the kernel.  Only the
+ * __kuser_cmpxchg code in entry-armv.S should be aware of its
+ * existence.  Don't ever use this from user code.
+ */
 #define __ARM_NR_cmpxchg		(__ARM_NR_BASE+0x00fff0)
 
 #define __ARCH_WANT_STAT64
diff --git a/arch/arm/include/uapi/asm/unistd.h b/arch/arm/include/uapi/asm/unistd.h
index ba94446c72d9..acd5b66ea3aa 100644
--- a/arch/arm/include/uapi/asm/unistd.h
+++ b/arch/arm/include/uapi/asm/unistd.h
@@ -411,11 +411,6 @@
 #define __NR_renameat2			(__NR_SYSCALL_BASE+382)
 
 /*
- * This may need to be greater than __NR_last_syscall+1 in order to
- * account for the padding in the syscall table
- */
-
-/*
  * The following SWIs are ARM private.
  */
 #define __ARM_NR_BASE			(__NR_SYSCALL_BASE+0x0f0000)
@@ -426,12 +421,6 @@
 #define __ARM_NR_set_tls		(__ARM_NR_BASE+5)
 
 /*
- * *NOTE*: This is a ghost syscall private to the kernel.  Only the
- * __kuser_cmpxchg code in entry-armv.S should be aware of its
- * existence.  Don't ever use this from user code.
- */
-
-/*
  * The following syscalls are obsolete and no longer available for EABI.
  */
 #if !defined(__KERNEL__)
-- 
2.0.0.rc0

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

* [PATCH v2] ARM: unistd.h: relocate comments back to place
  2014-05-16  8:51 [PATCH v2] ARM: unistd.h: relocate comments back to place Baruch Siach
@ 2014-07-09 11:20 ` Baruch Siach
  2014-07-09 12:29   ` Russell King - ARM Linux
  0 siblings, 1 reply; 3+ messages in thread
From: Baruch Siach @ 2014-07-09 11:20 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Russell,

On Fri, May 16, 2014 at 11:51:26AM +0300, Baruch Siach wrote:
> Commit cb8db5d45 (UAPI: (Scripted) Disintegrate arch/arm/include/asm) moved
> these syscall comments out of their context into the UAPI headers. Fix this.
> 
> Fixes: cb8db5d4578a ("UAPI: (Scripted) Disintegrate arch/arm/include/asm")
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>

I take the lack of response as approval. If no one objects I'll send this to 
the patch system later today.

baruch

> ---
> v2:
>    Rebase on v3.15-rc5
> 
> Hi Arnd,
> 
> A previous version of this patch
> (http://thread.gmane.org/gmane.linux.ports.arm.kernel/298234) was ignored. I
> guess Russell is just overloaded. Would you ack this seemingly trivial patch so
> I can put it in Russell's patches tracker?
> 
> baruch
> ---
>  arch/arm/include/asm/unistd.h      | 10 ++++++++++
>  arch/arm/include/uapi/asm/unistd.h | 11 -----------
>  2 files changed, 10 insertions(+), 11 deletions(-)
> 
> diff --git a/arch/arm/include/asm/unistd.h b/arch/arm/include/asm/unistd.h
> index 43876245fc57..21ca0cebcab0 100644
> --- a/arch/arm/include/asm/unistd.h
> +++ b/arch/arm/include/asm/unistd.h
> @@ -15,7 +15,17 @@
>  
>  #include <uapi/asm/unistd.h>
>  
> +/*
> + * This may need to be greater than __NR_last_syscall+1 in order to
> + * account for the padding in the syscall table
> + */
>  #define __NR_syscalls  (384)
> +
> +/*
> + * *NOTE*: This is a ghost syscall private to the kernel.  Only the
> + * __kuser_cmpxchg code in entry-armv.S should be aware of its
> + * existence.  Don't ever use this from user code.
> + */
>  #define __ARM_NR_cmpxchg		(__ARM_NR_BASE+0x00fff0)
>  
>  #define __ARCH_WANT_STAT64
> diff --git a/arch/arm/include/uapi/asm/unistd.h b/arch/arm/include/uapi/asm/unistd.h
> index ba94446c72d9..acd5b66ea3aa 100644
> --- a/arch/arm/include/uapi/asm/unistd.h
> +++ b/arch/arm/include/uapi/asm/unistd.h
> @@ -411,11 +411,6 @@
>  #define __NR_renameat2			(__NR_SYSCALL_BASE+382)
>  
>  /*
> - * This may need to be greater than __NR_last_syscall+1 in order to
> - * account for the padding in the syscall table
> - */
> -
> -/*
>   * The following SWIs are ARM private.
>   */
>  #define __ARM_NR_BASE			(__NR_SYSCALL_BASE+0x0f0000)
> @@ -426,12 +421,6 @@
>  #define __ARM_NR_set_tls		(__ARM_NR_BASE+5)
>  
>  /*
> - * *NOTE*: This is a ghost syscall private to the kernel.  Only the
> - * __kuser_cmpxchg code in entry-armv.S should be aware of its
> - * existence.  Don't ever use this from user code.
> - */
> -
> -/*
>   * The following syscalls are obsolete and no longer available for EABI.
>   */
>  #if !defined(__KERNEL__)
> -- 
> 2.0.0.rc0
> 

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

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

* [PATCH v2] ARM: unistd.h: relocate comments back to place
  2014-07-09 11:20 ` Baruch Siach
@ 2014-07-09 12:29   ` Russell King - ARM Linux
  0 siblings, 0 replies; 3+ messages in thread
From: Russell King - ARM Linux @ 2014-07-09 12:29 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Jul 09, 2014 at 02:20:37PM +0300, Baruch Siach wrote:
> Hi Russell,
> 
> On Fri, May 16, 2014 at 11:51:26AM +0300, Baruch Siach wrote:
> > Commit cb8db5d45 (UAPI: (Scripted) Disintegrate arch/arm/include/asm) moved
> > these syscall comments out of their context into the UAPI headers. Fix this.
> > 
> > Fixes: cb8db5d4578a ("UAPI: (Scripted) Disintegrate arch/arm/include/asm")
> > Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> 
> I take the lack of response as approval. If no one objects I'll send this to 
> the patch system later today.

Yes please.

-- 
FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kbps up
according to speedtest.net.

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

end of thread, other threads:[~2014-07-09 12:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-16  8:51 [PATCH v2] ARM: unistd.h: relocate comments back to place Baruch Siach
2014-07-09 11:20 ` Baruch Siach
2014-07-09 12:29   ` Russell King - ARM Linux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).