Linux s390 Architecture development
 help / color / mirror / Atom feed
* [PATCH 7/7] wire up sys_time_change_notify() on s390
       [not found] <1283255151-6364-1-git-send-email-virtuoso@slind.org>
@ 2010-08-31 11:45 ` Alexander Shishkin
  2010-08-31 11:53   ` Martin Schwidefsky
  2010-08-31 12:49   ` Heiko Carstens
  0 siblings, 2 replies; 5+ messages in thread
From: Alexander Shishkin @ 2010-08-31 11:45 UTC (permalink / raw)
  To: lkml
  Cc: Alexander Shishkin, Martin Schwidefsky, Heiko Carstens, linux390,
	Andrew Morton, Jesper Nilsson, David Howells,
	Christian Borntraeger, Eric W. Biederman, Christoph Hellwig,
	linux-s390, linux-kernel

Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
CC: Martin Schwidefsky <schwidefsky@de.ibm.com>
CC: Heiko Carstens <heiko.carstens@de.ibm.com>
CC: linux390@de.ibm.com
CC: Andrew Morton <akpm@linux-foundation.org>
CC: Jesper Nilsson <jesper.nilsson@axis.com>
CC: David Howells <dhowells@redhat.com>
CC: Christian Borntraeger <borntraeger@de.ibm.com>
CC: "Eric W. Biederman" <ebiederm@xmission.com>
CC: Christoph Hellwig <hch@lst.de>
CC: linux-s390@vger.kernel.org
CC: linux-kernel@vger.kernel.org
---
 arch/s390/include/asm/unistd.h    |    3 ++-
 arch/s390/kernel/compat_wrapper.S |    6 ++++++
 arch/s390/kernel/syscalls.S       |    1 +
 3 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/arch/s390/include/asm/unistd.h b/arch/s390/include/asm/unistd.h
index 1049ef2..f815a2d 100644
--- a/arch/s390/include/asm/unistd.h
+++ b/arch/s390/include/asm/unistd.h
@@ -272,7 +272,8 @@
 #define __NR_fanotify_init	332
 #define __NR_fanotify_mark	333
 #define __NR_prlimit64		334
-#define NR_syscalls 335
+#define __NR_time_change_notify	335
+#define NR_syscalls 336
 
 /* 
  * There are some system calls that are not present on 64 bit, some
diff --git a/arch/s390/kernel/compat_wrapper.S b/arch/s390/kernel/compat_wrapper.S
index 8e60fb2..4570418 100644
--- a/arch/s390/kernel/compat_wrapper.S
+++ b/arch/s390/kernel/compat_wrapper.S
@@ -1877,3 +1877,9 @@ sys_prlimit64_wrapper:
 	llgtr	%r4,%r4			# const struct rlimit64 __user *
 	llgtr	%r5,%r5			# struct rlimit64 __user *
 	jg	sys_prlimit64		# branch to system call
+
+	.globl sys_time_change_notify_wrapper
+sys_time_change_notify_wrapper:
+	lgfr	%r2,%r2			# int
+	llgfr	%r3,%r3			# unsigned int
+	jg	sys_time_change_notify	# branch to system call
diff --git a/arch/s390/kernel/syscalls.S b/arch/s390/kernel/syscalls.S
index a8fee1b..b242383 100644
--- a/arch/s390/kernel/syscalls.S
+++ b/arch/s390/kernel/syscalls.S
@@ -343,3 +343,4 @@ SYSCALL(sys_perf_event_open,sys_perf_event_open,sys_perf_event_open_wrapper)
 SYSCALL(sys_fanotify_init,sys_fanotify_init,sys_fanotify_init_wrapper)
 SYSCALL(sys_fanotify_mark,sys_fanotify_mark,sys_fanotify_mark_wrapper)
 SYSCALL(sys_prlimit64,sys_prlimit64,sys_prlimit64_wrapper)
+SYSCALL(sys_time_change_notify,sys_time_change_notify,sys_time_change_notify_wrapper) /* 335 */
\ No newline at end of file
-- 
1.7.1

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

* Re: [PATCH 7/7] wire up sys_time_change_notify() on s390
  2010-08-31 11:45 ` [PATCH 7/7] wire up sys_time_change_notify() on s390 Alexander Shishkin
@ 2010-08-31 11:53   ` Martin Schwidefsky
  2010-08-31 12:49   ` Heiko Carstens
  1 sibling, 0 replies; 5+ messages in thread
From: Martin Schwidefsky @ 2010-08-31 11:53 UTC (permalink / raw)
  To: Alexander Shishkin
  Cc: lkml, Heiko Carstens, linux390, Andrew Morton, Jesper Nilsson,
	David Howells, Christian Borntraeger, Eric W. Biederman,
	Christoph Hellwig, linux-s390, linux-kernel

On Tue, 31 Aug 2010 14:45:51 +0300
Alexander Shishkin <virtuoso@slind.org> wrote:

> Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
> CC: Martin Schwidefsky <schwidefsky@de.ibm.com>
> CC: Heiko Carstens <heiko.carstens@de.ibm.com>
> CC: linux390@de.ibm.com
> CC: Andrew Morton <akpm@linux-foundation.org>
> CC: Jesper Nilsson <jesper.nilsson@axis.com>
> CC: David Howells <dhowells@redhat.com>
> CC: Christian Borntraeger <borntraeger@de.ibm.com>
> CC: "Eric W. Biederman" <ebiederm@xmission.com>
> CC: Christoph Hellwig <hch@lst.de>
> CC: linux-s390@vger.kernel.org
> CC: linux-kernel@vger.kernel.org
> ---
>  arch/s390/include/asm/unistd.h    |    3 ++-
>  arch/s390/kernel/compat_wrapper.S |    6 ++++++
>  arch/s390/kernel/syscalls.S       |    1 +
>  3 files changed, 9 insertions(+), 1 deletions(-)

System-call wiring for s390 looks good.
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

-- 
blue skies,
   Martin.

"Reality continues to ruin my life." - Calvin.

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

* Re: [PATCH 7/7] wire up sys_time_change_notify() on s390
  2010-08-31 11:45 ` [PATCH 7/7] wire up sys_time_change_notify() on s390 Alexander Shishkin
  2010-08-31 11:53   ` Martin Schwidefsky
@ 2010-08-31 12:49   ` Heiko Carstens
  2010-08-31 12:53     ` Alexander Shishkin
  1 sibling, 1 reply; 5+ messages in thread
From: Heiko Carstens @ 2010-08-31 12:49 UTC (permalink / raw)
  To: Alexander Shishkin
  Cc: lkml, Martin Schwidefsky, linux390, Andrew Morton, Jesper Nilsson,
	David Howells, Christian Borntraeger, Eric W. Biederman,
	Christoph Hellwig, linux-s390, linux-kernel

On Tue, Aug 31, 2010 at 02:45:51PM +0300, Alexander Shishkin wrote:
> diff --git a/arch/s390/kernel/syscalls.S b/arch/s390/kernel/syscalls.S
> index a8fee1b..b242383 100644
> --- a/arch/s390/kernel/syscalls.S
> +++ b/arch/s390/kernel/syscalls.S
> @@ -343,3 +343,4 @@ SYSCALL(sys_perf_event_open,sys_perf_event_open,sys_perf_event_open_wrapper)
>  SYSCALL(sys_fanotify_init,sys_fanotify_init,sys_fanotify_init_wrapper)
>  SYSCALL(sys_fanotify_mark,sys_fanotify_mark,sys_fanotify_mark_wrapper)
>  SYSCALL(sys_prlimit64,sys_prlimit64,sys_prlimit64_wrapper)
> +SYSCALL(sys_time_change_notify,sys_time_change_notify,sys_time_change_notify_wrapper) /* 335 */
> \ No newline at end of file

Please add the missing newline. Thanks.

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

* Re: [PATCH 7/7] wire up sys_time_change_notify() on s390
  2010-08-31 12:49   ` Heiko Carstens
@ 2010-08-31 12:53     ` Alexander Shishkin
  0 siblings, 0 replies; 5+ messages in thread
From: Alexander Shishkin @ 2010-08-31 12:53 UTC (permalink / raw)
  To: Heiko Carstens
  Cc: lkml, Martin Schwidefsky, linux390, Andrew Morton, Jesper Nilsson,
	David Howells, Christian Borntraeger, Eric W. Biederman,
	Christoph Hellwig, linux-s390, linux-kernel

On Tue, Aug 31, 2010 at 02:49:28 +0200, Heiko Carstens wrote:
> On Tue, Aug 31, 2010 at 02:45:51PM +0300, Alexander Shishkin wrote:
> > diff --git a/arch/s390/kernel/syscalls.S b/arch/s390/kernel/syscalls.S
> > index a8fee1b..b242383 100644
> > --- a/arch/s390/kernel/syscalls.S
> > +++ b/arch/s390/kernel/syscalls.S
> > @@ -343,3 +343,4 @@ SYSCALL(sys_perf_event_open,sys_perf_event_open,sys_perf_event_open_wrapper)
> >  SYSCALL(sys_fanotify_init,sys_fanotify_init,sys_fanotify_init_wrapper)
> >  SYSCALL(sys_fanotify_mark,sys_fanotify_mark,sys_fanotify_mark_wrapper)
> >  SYSCALL(sys_prlimit64,sys_prlimit64,sys_prlimit64_wrapper)
> > +SYSCALL(sys_time_change_notify,sys_time_change_notify,sys_time_change_notify_wrapper) /* 335 */
> > \ No newline at end of file
> 
> Please add the missing newline. Thanks.

Oops. Will do.

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

* [PATCH 7/7] wire up sys_time_change_notify() on s390
       [not found] <1284675049-23479-1-git-send-email-virtuoso@slind.org>
@ 2010-09-16 22:10 ` Alexander Shishkin
  0 siblings, 0 replies; 5+ messages in thread
From: Alexander Shishkin @ 2010-09-16 22:10 UTC (permalink / raw)
  To: linux-kernel
  Cc: John Stultz, Andrew Morton, H. Peter Anvin, Kay Sievers, Greg KH,
	Chris Friesen, Linus Torvalds, Kirill A. Shutemov,
	Alexander Shishkin, Heiko Carstens, linux390, Jesper Nilsson,
	David Howells, Christian Borntraeger, Eric W. Biederman,
	Christoph Hellwig, linux-s390

Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
CC: Heiko Carstens <heiko.carstens@de.ibm.com>
CC: linux390@de.ibm.com
CC: Andrew Morton <akpm@linux-foundation.org>
CC: Jesper Nilsson <jesper.nilsson@axis.com>
CC: David Howells <dhowells@redhat.com>
CC: Christian Borntraeger <borntraeger@de.ibm.com>
CC: "Eric W. Biederman" <ebiederm@xmission.com>
CC: Christoph Hellwig <hch@lst.de>
CC: linux-s390@vger.kernel.org
CC: linux-kernel@vger.kernel.org
---
 arch/s390/include/asm/unistd.h    |    3 ++-
 arch/s390/kernel/compat_wrapper.S |    6 ++++++
 arch/s390/kernel/syscalls.S       |    1 +
 3 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/arch/s390/include/asm/unistd.h b/arch/s390/include/asm/unistd.h
index 1049ef2..f815a2d 100644
--- a/arch/s390/include/asm/unistd.h
+++ b/arch/s390/include/asm/unistd.h
@@ -272,7 +272,8 @@
 #define __NR_fanotify_init	332
 #define __NR_fanotify_mark	333
 #define __NR_prlimit64		334
-#define NR_syscalls 335
+#define __NR_time_change_notify	335
+#define NR_syscalls 336
 
 /* 
  * There are some system calls that are not present on 64 bit, some
diff --git a/arch/s390/kernel/compat_wrapper.S b/arch/s390/kernel/compat_wrapper.S
index 8e60fb2..4570418 100644
--- a/arch/s390/kernel/compat_wrapper.S
+++ b/arch/s390/kernel/compat_wrapper.S
@@ -1877,3 +1877,9 @@ sys_prlimit64_wrapper:
 	llgtr	%r4,%r4			# const struct rlimit64 __user *
 	llgtr	%r5,%r5			# struct rlimit64 __user *
 	jg	sys_prlimit64		# branch to system call
+
+	.globl sys_time_change_notify_wrapper
+sys_time_change_notify_wrapper:
+	lgfr	%r2,%r2			# int
+	llgfr	%r3,%r3			# unsigned int
+	jg	sys_time_change_notify	# branch to system call
diff --git a/arch/s390/kernel/syscalls.S b/arch/s390/kernel/syscalls.S
index a8fee1b..50ca1a7 100644
--- a/arch/s390/kernel/syscalls.S
+++ b/arch/s390/kernel/syscalls.S
@@ -343,3 +343,4 @@ SYSCALL(sys_perf_event_open,sys_perf_event_open,sys_perf_event_open_wrapper)
 SYSCALL(sys_fanotify_init,sys_fanotify_init,sys_fanotify_init_wrapper)
 SYSCALL(sys_fanotify_mark,sys_fanotify_mark,sys_fanotify_mark_wrapper)
 SYSCALL(sys_prlimit64,sys_prlimit64,sys_prlimit64_wrapper)
+SYSCALL(sys_time_change_notify,sys_time_change_notify,sys_time_change_notify_wrapper) /* 335 */
-- 
1.7.2.1.45.gb66c2

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

end of thread, other threads:[~2010-09-16 22:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1283255151-6364-1-git-send-email-virtuoso@slind.org>
2010-08-31 11:45 ` [PATCH 7/7] wire up sys_time_change_notify() on s390 Alexander Shishkin
2010-08-31 11:53   ` Martin Schwidefsky
2010-08-31 12:49   ` Heiko Carstens
2010-08-31 12:53     ` Alexander Shishkin
     [not found] <1284675049-23479-1-git-send-email-virtuoso@slind.org>
2010-09-16 22:10 ` Alexander Shishkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox