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

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: 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/i386/Kconfig
arch/i386/kernel/module.c
arch/i386/kernel/traps.c
arch/i386/kernel/vmlinux.lds.S
include/asm-i386/bug.h
lib/Kconfig.debug