projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc3eb70
)
x86: apic: Convert BUG() to BUG_ON()
author
Daniel Walker
<
[email protected]
>
Sat, 12 Sep 2009 17:40:20 +0000
(10:40 -0700)
committer
Ingo Molnar
<
[email protected]
>
Fri, 18 Sep 2009 11:45:33 +0000
(13:45 +0200)
This was done using Coccinelle's BUG_ON semantic patch.
Signed-off-by: Daniel Walker <
[email protected]
>
Cc: Julia Lawall <
[email protected]
>
LKML-Reference: <
1252777220
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
arch/x86/kernel/apic/apic.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/apic/apic.c
b/arch/x86/kernel/apic/apic.c
index 159740decc41c4e9296208fd06c0912380fb9d90..79e5b92a5800d662b374623f3e9c8609f099d2b6 100644
(file)
--- a/
arch/x86/kernel/apic/apic.c
+++ b/
arch/x86/kernel/apic/apic.c
@@
-1196,8
+1196,7
@@
void __cpuinit setup_local_APIC(void)
* Double-check whether this APIC is really registered.
* This is meaningless in clustered apic mode, so we skip it.
*/
- if (!apic->apic_id_registered())
- BUG();
+ BUG_ON(!apic->apic_id_registered());
/*
* Intel recommends to set DFR, LDR and TPR before enabling