[lkml]   [2010]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 64-syscall args on 32-bit vs syscall()
Benjamin Herrenschmidt wrote:
> Hence, apps that use the first form today because it works on x86 would
> end up working at least on powerpc where they would have been otherwise
> broken unless they used some arch specific #ifdef to do the second form.

I think what Ulrich is getting at is your change will break existing
code which already does:

#ifdef __powerpc__
syscall(SYS_foo, 0, my_64bit_arg);
syscall(SYS_foo, my_64bit_arg);

I don't know of any such code, but it might be out there.

-- Jamie

 \ /
  Last update: 2010-03-17 10:21    [W:0.078 / U:2.428 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site