diff options
author | Stoyan Gaydarov <stoyboyker@gmail.com> | 2009-03-10 06:10:32 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-10 09:55:18 +0100 |
commit | 8c5dfd25519bf302ba43daa59976c4d675a594a7 (patch) | |
tree | bd9273f5d17d5a38fd56b7685095ffc5ed259345 /arch/x86/kernel/quirks.c | |
parent | Merge branches 'x86/apic', 'x86/asm', 'x86/fixmap', 'x86/memtest', 'x86/mm', ... (diff) | |
download | linux-8c5dfd25519bf302ba43daa59976c4d675a594a7.tar.xz linux-8c5dfd25519bf302ba43daa59976c4d675a594a7.zip |
x86: BUG to BUG_ON changes
Impact: cleanup
Signed-off-by: Stoyan Gaydarov <stoyboyker@gmail.com>
LKML-Reference: <1236661850-8237-8-git-send-email-stoyboyker@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/quirks.c')
-rw-r--r-- | arch/x86/kernel/quirks.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/quirks.c b/arch/x86/kernel/quirks.c index 309949e9e1c1..6a5a2970f4c5 100644 --- a/arch/x86/kernel/quirks.c +++ b/arch/x86/kernel/quirks.c @@ -74,8 +74,7 @@ static void ich_force_hpet_resume(void) if (!force_hpet_address) return; - if (rcba_base == NULL) - BUG(); + BUG_ON(rcba_base == NULL); /* read the Function Disable register, dword mode only */ val = readl(rcba_base + 0x3404); |