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:
3c1326f
)
x86: cleanup, remove extra ifdef
author
Yinghai Lu
<
[email protected]
>
Fri, 26 Sep 2008 05:22:12 +0000
(22:22 -0700)
committer
Ingo Molnar
<
[email protected]
>
Mon, 13 Oct 2008 08:22:44 +0000
(10:22 +0200)
also change two functions to static.
Signed-off-by: Yinghai Lu <
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
arch/x86/kernel/irqinit_64.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/irqinit_64.c
b/arch/x86/kernel/irqinit_64.c
index b01d9549b3d4d7d6e0f827f354885711aa6ebc6c..5b5be9d43c2a865fdcbe1ac0f689e750f5e6f5de 100644
(file)
--- a/
arch/x86/kernel/irqinit_64.c
+++ b/
arch/x86/kernel/irqinit_64.c
@@
-164,7
+164,7
@@
void __init init_ISA_irqs(void)
void init_IRQ(void) __attribute__((weak, alias("native_init_IRQ")));
-void __init smp_intr_init(void)
+
static
void __init smp_intr_init(void)
{
#ifdef CONFIG_SMP
/*
@@
-195,11
+195,9
@@
void __init smp_intr_init(void)
#endif
}
-void __init apic_intr_init(void)
+
static
void __init apic_intr_init(void)
{
-#ifdef CONFIG_SMP
smp_intr_init();
-#endif
alloc_intr_gate(THERMAL_APIC_VECTOR, thermal_interrupt);
alloc_intr_gate(THRESHOLD_APIC_VECTOR, threshold_interrupt);