• Jeremy Fitzhardinge's avatar
    [PATCH] Generic BUG for x86-64 · c31a0bf3
    Jeremy Fitzhardinge authored
    This makes x86-64 use the generic BUG machinery.
    
    The main advantage in using the generic BUG machinery for x86-64 is that
    the inlined overhead of BUG is just the ud2a instruction; the file+line
    information are no longer inlined into the instruction stream.  This
    reduces cache pollution.
    Signed-off-by: default avatarJeremy 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: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    c31a0bf3
module.c 4.77 KB