Re: [PATCH] BUG preserve registers

From: H. Peter Anvin (hpa@zytor.com)
Date: Sat Feb 09 2002 - 15:24:06 EST


Linus Torvalds wrote:

>
> Oh, but I was talking about the case of the macro being used in an "static
> inline" in a header file, and that inline is not actually _used_
> anywhere..
>

Ah... but it was talked about in reference to a macro.

Also, since AFAIK BUG() never returns, you may want to have it end with
for(;;); to let gcc know that any code downstream of a BUG() is dead.

        -hpa

-
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 : Fri Feb 15 2002 - 21:00:28 EST