• J
    [PATCH] Generic BUG for i386 · 91768d6c
    Jeremy Fitzhardinge 提交于
    This makes i386 use the generic BUG machinery.  There are no functional
    changes from the old i386 implementation.
    
    The main advantage in using the generic BUG machinery for i386 is that the
    inlined overhead of BUG is just the ud2a instruction; the file+line(+function)
    information are no longer inlined into the instruction stream.  This reduces
    cache pollution, and makes disassembly work properly.
    Signed-off-by: NJeremy Fitzhardinge <jeremy@goop.org>
    Cc: Andi Kleen <ak@muc.de>
    Cc: Hugh Dickens <hugh@veritas.com>
    Cc: Michael Ellerman <michael@ellerman.id.au>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Rusty Russell <rusty@rustcorp.com.au>
    Signed-off-by: NAndrew Morton <akpm@osdl.org>
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    91768d6c
vmlinux.lds.S 5.6 KB