Peter Van Eynde wrote:
> So as far as I can see it is using the wrong lock location (!). I
> changed the get_spinlock function to look like the assembler used in the
> Linux kernel (file linux-2.6.9/arch/i386/lib/dec_and_lock.c):
> [wrong patch]
After rereading my message I saw the obvious flaw. After searching a little
more I've seen reports that 'asm' does not work well on other -O levels
then the one for which it was written.
So all the confusion must be because I removed the -O3 from the makefile :-(.
Sorry for the confusion.