lkml.org 
[lkml]   [2010]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    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);
    #else
    syscall(SYS_foo, my_64bit_arg);
    #endif

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

    -- Jamie


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