x86, bts: turn BUG_ON into WARN_ON_ONCE
authorMarkus Metzger <markus.t.metzger@intel.com>
Thu, 11 Dec 2008 12:45:23 +0000 (13:45 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 12 Dec 2008 07:08:10 +0000 (08:08 +0100)
commitb0884e25fe361f2ca228808fb5fd1b74cb04e711
tree3501b08e29545f89733d592b8f7252253b399be6
parentf3134de60624829a57741c1f3796847d4de165f6
x86, bts: turn BUG_ON into WARN_ON_ONCE

Impact: make the ds code more debuggable

Turn BUG_ON's into WARN_ON_ONCE.

Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/ds.c
arch/x86/kernel/ptrace.c