Re: ADI Blackfin patch for kernel 2.6.14

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux