Re: [PATCH] i386: make BUG() expansion look like instruction

From: Hugh Dickins
Date: Wed Nov 08 2006 - 12:41:42 EST


On Wed, 8 Nov 2006, Jan Beulich wrote:
> This gets i386's handle_BUG() in sync with x86-64's, namely introducing
> a 'struct bug_frame' and arranging for the code generated by the BUG()
> macro to represent an instruction, so that disassembling code
> containing such constructs doesn't produce garbage anymore. The
> resulting increase of code size is marginal (1 byte per instance).

I thought we were heading towards merging Jeremy's generic-bug-*
(with file and line in another section), in -mm for a while now?

Hugh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/