Skip to content

Commit

Permalink
x86: move declaring x2apic_extra_bits
Browse files Browse the repository at this point in the history
it is for uv only

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: Jack Steiner <steiner@sgi.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Jul 24, 2008
1 parent fd60b39 commit 510b372
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/x86/kernel/genx2apic_phys.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#include <asm/ipi.h>
#include <asm/genapic.h>

DEFINE_PER_CPU(int, x2apic_extra_bits);

static int x2apic_phys;

static int set_x2apic_phys_mode(char *arg)
Expand Down
2 changes: 2 additions & 0 deletions arch/x86/kernel/genx2apic_uv_x.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#include <asm/uv/uv_hub.h>
#include <asm/uv/bios.h>

DEFINE_PER_CPU(int, x2apic_extra_bits);

static enum uv_system_type uv_system_type;

static int __init uv_acpi_madt_oem_check(char *oem_id, char *oem_table_id)
Expand Down

0 comments on commit 510b372

Please sign in to comment.