[lkml]   [2005]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-11-16 14:46    [W:0.137 / U:6.544 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site