Re: How to fix false positives on references to discarded text/data?

Kai Germaschewski (kai@tp1.ruhr-uni-bochum.de)
Mon, 24 Dec 2001 01:44:17 +0100 (CET)


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/