All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] asm-generic: support clock_adjtime() in <asm-generic/unistd.h>
@ 2011-03-19 15:47 Chris Metcalf
  2011-03-19 20:47 ` Arnd Bergmann
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Metcalf @ 2011-03-19 15:47 UTC (permalink / raw)
  To: linux-kernel, Arnd Bergmann; +Cc: Guan Xuetao, Chen Liqin, Lennox Wu

A syscall was added without being added to asm-generic, which
makes tile (and presumably score and unicore32) break.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Cc: Chen Liqin <liqin.chen@sunplusct.com>
Cc: Lennox Wu <lennox.wu@gmail.com>
---
 include/asm-generic/unistd.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/include/asm-generic/unistd.h b/include/asm-generic/unistd.h
index 57af033..d94f447 100644
--- a/include/asm-generic/unistd.h
+++ b/include/asm-generic/unistd.h
@@ -650,9 +650,11 @@ __SYSCALL(__NR_fanotify_mark, sys_fanotify_mark)
 __SYSCALL(__NR_name_to_handle_at, sys_name_to_handle_at)
 #define __NR_open_by_handle_at		265
 __SYSCALL(__NR_open_by_handle_at, sys_open_by_handle_at)
+#define __NR_clock_adjtime 266
+__SYSCALL(__NR_clock_adjtime, sys_clock_adjtime)
 
 #undef __NR_syscalls
-#define __NR_syscalls 266
+#define __NR_syscalls 267
 
 /*
  * All syscalls below here should go away really,
-- 
1.6.5.2


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

* Re: [PATCH] asm-generic: support clock_adjtime() in <asm-generic/unistd.h>
  2011-03-19 15:47 [PATCH] asm-generic: support clock_adjtime() in <asm-generic/unistd.h> Chris Metcalf
@ 2011-03-19 20:47 ` Arnd Bergmann
  2011-03-22 12:32   ` Guan Xuetao
  0 siblings, 1 reply; 3+ messages in thread
From: Arnd Bergmann @ 2011-03-19 20:47 UTC (permalink / raw)
  To: Chris Metcalf; +Cc: linux-kernel, Guan Xuetao, Chen Liqin, Lennox Wu

On Saturday 19 March 2011 16:47:53 Chris Metcalf wrote:
> 
> A syscall was added without being added to asm-generic, which
> makes tile (and presumably score and unicore32) break.
> 
> Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
> Cc: Chen Liqin <liqin.chen@sunplusct.com>
> Cc: Lennox Wu <lennox.wu@gmail.com>

I don't consider it actually broken, but your patch
is definitely needed to support the new syscall, and
looks totally correct.

Acked-by: Arnd Bergmann <arnd@arndb.de>

I don't have any other changes queued up for asm-generic
in this release, so please just merge it through your
tree if you like.

	Arnd

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

* RE: [PATCH] asm-generic: support clock_adjtime() in <asm-generic/unistd.h>
  2011-03-19 20:47 ` Arnd Bergmann
@ 2011-03-22 12:32   ` Guan Xuetao
  0 siblings, 0 replies; 3+ messages in thread
From: Guan Xuetao @ 2011-03-22 12:32 UTC (permalink / raw)
  To: 'Arnd Bergmann', 'Chris Metcalf'
  Cc: linux-kernel, 'Chen Liqin', 'Lennox Wu'



> -----Original Message-----
> From: Arnd Bergmann [mailto:arnd@arndb.de]
> Sent: Sunday, March 20, 2011 4:47 AM
> To: Chris Metcalf
> Cc: linux-kernel@vger.kernel.org; Guan Xuetao; Chen Liqin; Lennox Wu
> Subject: Re: [PATCH] asm-generic: support clock_adjtime() in <asm-generic/unistd.h>
> 
> On Saturday 19 March 2011 16:47:53 Chris Metcalf wrote:
> >
> > A syscall was added without being added to asm-generic, which
> > makes tile (and presumably score and unicore32) break.
> >
> > Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
> > Cc: Arnd Bergmann <arnd@arndb.de>
> > Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
> > Cc: Chen Liqin <liqin.chen@sunplusct.com>
> > Cc: Lennox Wu <lennox.wu@gmail.com>
> 
> I don't consider it actually broken, but your patch
> is definitely needed to support the new syscall, and
> looks totally correct.
> 
> Acked-by: Arnd Bergmann <arnd@arndb.de>
> 
> I don't have any other changes queued up for asm-generic
> in this release, so please just merge it through your
> tree if you like.
> 
> 	Arnd

Looks good. At least it will remove the warning for unimplemented syscall.

Thanks & Regards.

Guan Xuetao


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

end of thread, other threads:[~2011-03-22 12:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-19 15:47 [PATCH] asm-generic: support clock_adjtime() in <asm-generic/unistd.h> Chris Metcalf
2011-03-19 20:47 ` Arnd Bergmann
2011-03-22 12:32   ` Guan Xuetao

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.