]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Generic BUG for x86-64
authorJeremy Fitzhardinge <jeremy@goop.org>
Fri, 8 Dec 2006 10:36:22 +0000 (02:36 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:39 +0000 (08:28 -0800)
commit21830e33eb364c163b1f16e1b12e1347c62f721b
tree68eb38dbc58d647c3b20cd73fb812cafe93eb663
parentc4c5095b7e8a76da00b558a0ec144eb7e6f3750c
[PATCH] Generic BUG for x86-64

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: Jeremy 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: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/Kconfig
arch/x86_64/kernel/module.c
arch/x86_64/kernel/traps.c
arch/x86_64/kernel/vmlinux.lds.S
include/asm-x86_64/bug.h