From: Paul M. <le...@li...> - 2007-06-18 00:41:47
|
On Sun, Jun 17, 2007 at 07:27:05AM +0900, Kaz Kojima wrote: > The last problem is that the newer libc needs more complete futex > support in the kernel. Now SH uses include/asm-generic/futex.h > which doesn't give the required functions. The attached patch is > an obvious "last resort" implementation for the uni processor. > If the CPU has ll/sc insns, they can be used like as the other > architectures do. I'll leave the llsc version to the folks who > can access such CPU. > Hmm.. this all looks terribly generic, if glibc requires the generic implementation to be extended, perhaps this change should be made against asm-generic/futex.h instead? |