diff options
author | 2006-12-08 02:36:22 -0800 | |
---|---|---|
committer | 2006-12-08 08:28:39 -0800 | |
commit | c31a0bf3e1bc581676618db7492f18798fd0a73f (patch) | |
tree | 68eb38dbc58d647c3b20cd73fb812cafe93eb663 /arch/x86_64/Kconfig | |
parent | [PATCH] Generic BUG for i386 (diff) | |
download | linux-c31a0bf3e1bc581676618db7492f18798fd0a73f.tar.gz linux-c31a0bf3e1bc581676618db7492f18798fd0a73f.tar.bz2 linux-c31a0bf3e1bc581676618db7492f18798fd0a73f.zip |
[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>
Diffstat (limited to 'arch/x86_64/Kconfig')
-rw-r--r-- | arch/x86_64/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig index bfbb9bcae123..3254a616c69e 100644 --- a/arch/x86_64/Kconfig +++ b/arch/x86_64/Kconfig @@ -96,6 +96,11 @@ config AUDIT_ARCH bool default y +config GENERIC_BUG + bool + default y + depends on BUG + source "init/Kconfig" |