diff options
author | Suresh Siddha <suresh.b.siddha@intel.com> | 2008-07-10 14:16:48 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-12 02:44:57 -0400 |
commit | 0c81c746f9bdbfaafe64322d540c8b7b59c27314 (patch) | |
tree | 2f6a291a7b699b930e617909f3476dfafb5a38bb /arch/x86/kernel/apic_64.c | |
parent | 4dc2f96cacd1e74c688f94348a3bfd0a980817d5 (diff) |
x64, x2apic/intr-remap: introduce read_apic_id() to genapic routines
Move the read_apic_id() to genapic routines.
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: akpm@linux-foundation.org
Cc: arjan@linux.intel.com
Cc: andi@firstfloor.org
Cc: ebiederm@xmission.com
Cc: jbarnes@virtuousgeek.org
Cc: steiner@sgi.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/apic_64.c')
-rw-r--r-- | arch/x86/kernel/apic_64.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/kernel/apic_64.c b/arch/x86/kernel/apic_64.c index 1e3d32e27c14..9dd4ee4735f5 100644 --- a/arch/x86/kernel/apic_64.c +++ b/arch/x86/kernel/apic_64.c | |||
@@ -1096,6 +1096,11 @@ void __cpuinit generic_processor_info(int apicid, int version) | |||
1096 | cpu_set(cpu, cpu_present_map); | 1096 | cpu_set(cpu, cpu_present_map); |
1097 | } | 1097 | } |
1098 | 1098 | ||
1099 | int hard_smp_processor_id(void) | ||
1100 | { | ||
1101 | return read_apic_id(); | ||
1102 | } | ||
1103 | |||
1099 | /* | 1104 | /* |
1100 | * Power management | 1105 | * Power management |
1101 | */ | 1106 | */ |