diff options
Diffstat (limited to 'include/asm-i386/apic.h')
| -rw-r--r-- | include/asm-i386/apic.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/include/asm-i386/apic.h b/include/asm-i386/apic.h index 2c1e371cebb6..3a42b7d6fc92 100644 --- a/include/asm-i386/apic.h +++ b/include/asm-i386/apic.h | |||
| @@ -16,20 +16,8 @@ | |||
| 16 | #define APIC_VERBOSE 1 | 16 | #define APIC_VERBOSE 1 |
| 17 | #define APIC_DEBUG 2 | 17 | #define APIC_DEBUG 2 |
| 18 | 18 | ||
| 19 | extern int enable_local_apic; | ||
| 20 | extern int apic_verbosity; | 19 | extern int apic_verbosity; |
| 21 | 20 | ||
| 22 | static inline void lapic_disable(void) | ||
| 23 | { | ||
| 24 | enable_local_apic = -1; | ||
| 25 | clear_bit(X86_FEATURE_APIC, boot_cpu_data.x86_capability); | ||
| 26 | } | ||
| 27 | |||
| 28 | static inline void lapic_enable(void) | ||
| 29 | { | ||
| 30 | enable_local_apic = 1; | ||
| 31 | } | ||
| 32 | |||
| 33 | /* | 21 | /* |
| 34 | * Define the default level of output to be very little | 22 | * Define the default level of output to be very little |
| 35 | * This can be turned up by using apic=verbose for more | 23 | * This can be turned up by using apic=verbose for more |
| @@ -42,6 +30,8 @@ static inline void lapic_enable(void) | |||
| 42 | } while (0) | 30 | } while (0) |
| 43 | 31 | ||
| 44 | 32 | ||
| 33 | extern void generic_apic_probe(void); | ||
| 34 | |||
| 45 | #ifdef CONFIG_X86_LOCAL_APIC | 35 | #ifdef CONFIG_X86_LOCAL_APIC |
| 46 | 36 | ||
| 47 | /* | 37 | /* |
| @@ -117,8 +107,6 @@ extern void enable_APIC_timer(void); | |||
| 117 | 107 | ||
| 118 | extern void enable_NMI_through_LVT0 (void * dummy); | 108 | extern void enable_NMI_through_LVT0 (void * dummy); |
| 119 | 109 | ||
| 120 | extern int disable_timer_pin_1; | ||
| 121 | |||
| 122 | void smp_send_timer_broadcast_ipi(struct pt_regs *regs); | 110 | void smp_send_timer_broadcast_ipi(struct pt_regs *regs); |
| 123 | void switch_APIC_timer_to_ipi(void *cpumask); | 111 | void switch_APIC_timer_to_ipi(void *cpumask); |
| 124 | void switch_ipi_to_APIC_timer(void *cpumask); | 112 | void switch_ipi_to_APIC_timer(void *cpumask); |
