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

Andrew Morton (akpm@zip.com.au)
Sun, 23 Dec 2001 16:15:47 -0800


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?

Apart from that, it looks like a winner.

-
-
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/