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

From: Andrew Morton (akpm@zip.com.au)
Date: Sun Dec 23 2001 - 19:15:47 EST


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/



This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 21:00:31 EST