aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/apic.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-02-17 10:28:46 -0500
committerIngo Molnar <mingo@elte.hu>2009-02-17 11:53:57 -0500
commitbe163a159b223e94b3180afdd47a8d468eb9a492 (patch)
treed071a8b0a6d56e84c274bc9a2b1f7d302b0ed524 /arch/x86/include/asm/apic.h
parentab6fb7c0b03e2c3286f316c840347be8b9ee3d9f (diff)
x86, apic: rename 'genapic' to 'apic'
Impact: cleanup Now that all APIC code is consolidated there's nothing 'gen' about apics anymore - so rename 'struct genapic' to 'struct apic'. This shortens the code and is nicer to read as well. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/apic.h')
-rw-r--r--arch/x86/include/asm/apic.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h
index 122d8eda275f..dce1bf696cca 100644
--- a/arch/x86/include/asm/apic.h
+++ b/arch/x86/include/asm/apic.h
@@ -248,7 +248,7 @@ static inline void disable_local_APIC(void) { }
248 * Martin Bligh, Andi Kleen, James Bottomley, John Stultz, and 248 * Martin Bligh, Andi Kleen, James Bottomley, John Stultz, and
249 * James Cleverdon. 249 * James Cleverdon.
250 */ 250 */
251struct genapic { 251struct apic {
252 char *name; 252 char *name;
253 253
254 int (*probe)(void); 254 int (*probe)(void);
@@ -283,7 +283,7 @@ struct genapic {
283 int (*phys_pkg_id)(int cpuid_apic, int index_msb); 283 int (*phys_pkg_id)(int cpuid_apic, int index_msb);
284 284
285 /* 285 /*
286 * When one of the next two hooks returns 1 the genapic 286 * When one of the next two hooks returns 1 the apic
287 * is switched to this. Essentially they are additional 287 * is switched to this. Essentially they are additional
288 * probe functions: 288 * probe functions:
289 */ 289 */
@@ -324,7 +324,7 @@ struct genapic {
324 u32 (*safe_wait_icr_idle)(void); 324 u32 (*safe_wait_icr_idle)(void);
325}; 325};
326 326
327extern struct genapic *apic; 327extern struct apic *apic;
328 328
329static inline u32 apic_read(u32 reg) 329static inline u32 apic_read(u32 reg)
330{ 330{
@@ -385,17 +385,17 @@ static inline unsigned default_get_apic_id(unsigned long x)
385#define DEFAULT_TRAMPOLINE_PHYS_HIGH 0x469 385#define DEFAULT_TRAMPOLINE_PHYS_HIGH 0x469
386 386
387#ifdef CONFIG_X86_32 387#ifdef CONFIG_X86_32
388extern void es7000_update_genapic_to_cluster(void); 388extern void es7000_update_apic_to_cluster(void);
389#else 389#else
390extern struct genapic apic_flat; 390extern struct apic apic_flat;
391extern struct genapic apic_physflat; 391extern struct apic apic_physflat;
392extern struct genapic apic_x2apic_cluster; 392extern struct apic apic_x2apic_cluster;
393extern struct genapic apic_x2apic_phys; 393extern struct apic apic_x2apic_phys;
394extern int default_acpi_madt_oem_check(char *, char *); 394extern int default_acpi_madt_oem_check(char *, char *);
395 395
396extern void apic_send_IPI_self(int vector); 396extern void apic_send_IPI_self(int vector);
397 397
398extern struct genapic apic_x2apic_uv_x; 398extern struct apic apic_x2apic_uv_x;
399DECLARE_PER_CPU(int, x2apic_extra_bits); 399DECLARE_PER_CPU(int, x2apic_extra_bits);
400 400
401extern int default_cpu_present_to_apicid(int mps_cpu); 401extern int default_cpu_present_to_apicid(int mps_cpu);