Skip to content

Commit

Permalink
[PATCH] x86-64: revert x86_64-mm-add-genapic_force
Browse files Browse the repository at this point in the history
This is obsoleted by new Ingo genapic patches.

Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Andi Kleen <ak@suse.de>
Cc: "Li, Shaohua" <shaohua.li@intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Andi Kleen <ak@suse.de>
  • Loading branch information
Andrew Morton authored and Andi Kleen committed May 2, 2007
1 parent fb27145 commit 3dc68d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions arch/x86_64/kernel/genapic.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ extern struct genapic apic_flat;
extern struct genapic apic_physflat;

struct genapic *genapic = &apic_flat;
struct genapic *genapic_force;


/*
* Check the APIC IDs in bios_cpu_apicid and choose the APIC mode.
Expand All @@ -46,13 +46,6 @@ void __init clustered_apic_check(void)
u8 cluster_cnt[NUM_APIC_CLUSTERS];
int max_apic = 0;

/* genapic selection can be forced because of certain quirks.
*/
if (genapic_force) {
genapic = genapic_force;
goto print;
}

#if defined(CONFIG_ACPI)
/*
* Some x86_64 machines use physical APIC mode regardless of how many
Expand Down
2 changes: 1 addition & 1 deletion include/asm-x86_64/genapic.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ struct genapic {
};


extern struct genapic *genapic, *genapic_force, apic_flat;
extern struct genapic *genapic;

#endif

0 comments on commit 3dc68d9

Please sign in to comment.