linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the limits tree with the tile tree
@ 2010-07-20  3:48 Stephen Rothwell
  2010-07-20  4:18 ` Chris Metcalf
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2010-07-20  3:48 UTC (permalink / raw)
  To: Jiri Slaby; +Cc: linux-next, linux-kernel, Chris Metcalf

Hi Jiri,

Today's linux-next merge of the limits tree got a conflict in
include/asm-generic/unistd.h between commits
5360bd776f73d0a7da571d72a09a03f237e99900 ("Fix up the "generic" unistd.h
ABI to be more useful") and b51cae21ee66f77a368428e6bdf75a0c012c9fd7
("Add wait4() back to the set of <asm-generic/unistd.h> syscalls") from
the tile tree and commit f33ebbe9da2c3c24664a0ad4f8fd83f293547e63
("unistd: add __NR_prlimit64 syscall numbers") from the limits tree.

I fixed it up (see below) and can carry the fix as necessary.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

diff --cc include/asm-generic/unistd.h
index c17cebc,0dfd517..0000000
--- a/include/asm-generic/unistd.h
+++ b/include/asm-generic/unistd.h
@@@ -631,18 -626,11 +631,20 @@@ __SYSCALL(__NR_perf_event_open, sys_per
  __SYSCALL(__NR_accept4, sys_accept4)
  #define __NR_recvmmsg 243
  __SYSCALL(__NR_recvmmsg, sys_recvmmsg)
+ #define __NR_prlimit64 244
+ __SYSCALL(__NR_prlimit64, sys_prlimit64)
  
 +/*
 + * Architectures may provide up to 16 syscalls of their own
 + * starting with this value.
 + */
- #define __NR_arch_specific_syscall 244
++#define __NR_arch_specific_syscall 245
 +
 +#define __NR_wait4 260
 +__SYSCALL(__NR_wait4, sys_wait4)
 +
  #undef __NR_syscalls
 -#define __NR_syscalls 245
 +#define __NR_syscalls 261
  
  /*
   * All syscalls below here should go away really,

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

* Re: linux-next: manual merge of the limits tree with the tile tree
  2010-07-20  3:48 linux-next: manual merge of the limits tree with the tile tree Stephen Rothwell
@ 2010-07-20  4:18 ` Chris Metcalf
  2010-07-20  8:01   ` Jiri Slaby
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Metcalf @ 2010-07-20  4:18 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Jiri Slaby, linux-next, linux-kernel, Arnd Bergmann

On 7/19/2010 11:48 PM, Stephen Rothwell wrote:
> Hi Jiri,
>
> Today's linux-next merge of the limits tree got a conflict in
> include/asm-generic/unistd.h between commits
> 5360bd776f73d0a7da571d72a09a03f237e99900 ("Fix up the "generic" unistd.h
> ABI to be more useful") and b51cae21ee66f77a368428e6bdf75a0c012c9fd7
> ("Add wait4() back to the set of <asm-generic/unistd.h> syscalls") from
> the tile tree and commit f33ebbe9da2c3c24664a0ad4f8fd83f293547e63
> ("unistd: add __NR_prlimit64 syscall numbers") from the limits tree.
>
> I fixed it up (see below) and can carry the fix as necessary.
>   

Jiri, would it be possible to put __NR_prlimit64 as number 261 in
<asm-generic/syscall.h>?  This would avoid the requirement for Tilera
users to have a "flag day" to renumber some of our syscalls.  I assume
there are no users at all of this flavor of the __NR_prlimit64 syscall
number yet otherwise, except the "score" architecture folks who
presumably wouldn't have started trying to use the syscall yet.

Thanks, and Stephen, thanks for the fixup.

-- 
Chris Metcalf, Tilera Corp.
http://www.tilera.com

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

* Re: linux-next: manual merge of the limits tree with the tile tree
  2010-07-20  4:18 ` Chris Metcalf
@ 2010-07-20  8:01   ` Jiri Slaby
  0 siblings, 0 replies; 3+ messages in thread
From: Jiri Slaby @ 2010-07-20  8:01 UTC (permalink / raw)
  To: Chris Metcalf; +Cc: Stephen Rothwell, linux-next, linux-kernel, Arnd Bergmann

On 07/20/2010 06:18 AM, Chris Metcalf wrote:
> Jiri, would it be possible to put __NR_prlimit64 as number 261 in
> <asm-generic/syscall.h>?

Hi, I assume you meant asm-generic/unistd.h. Yes, I will do that.

thank you both,
-- 
js

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

end of thread, other threads:[~2010-07-20  8:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-20  3:48 linux-next: manual merge of the limits tree with the tile tree Stephen Rothwell
2010-07-20  4:18 ` Chris Metcalf
2010-07-20  8:01   ` Jiri Slaby

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).