lkml.org 
[lkml]   [2005]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: ADI Blackfin patch for kernel 2.6.14
    Andrew Morton wrote:

    >>+asmlinkage int sys_bfin_spinlock(int *spinlock)
    >
    >
    > Whoa, that's a syscall I never expected to see. What's it do?

    Replaces the TESTSET instruction, which has a few errata that make it
    unreliable. It's used by the pthreads library to provide atomic operations.

    > Shouldn't
    > it be using get_user() and put_user()? Or will this forever be a nommu
    > arch?

    We currently don't expect that this code will ever support a MMU, but I
    suppose it could use get/put_user for clarity.


    Bernd
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-11-16 14:46    [W:0.021 / U:29.892 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site