On Sun, 23 Dec 2001, Andrew Morton wrote:
> Kai Germaschewski wrote:
> >
> > asm volatile(LOCK "subl $1,(%0)\n\t" \
> > "js 2f\n" \
> > "1:\n" \
> > - ".section .text.lock,\"ax\"\n" \
> > + ".subsection 1\n" \
> > "2:\tcall " helper "\n\t" \
> > "jmp 1b\n" \
> > ".previous" \
>
> Don't we want `.subsection 0' here, rather than .previous?
Either should be fine.
> Apart from that, it looks like a winner.
;-)
--Kai
-
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/
This archive was generated by hypermail 2b29 : Mon Dec 31 2001 - 21:00:09 EST