Skip to content

Commit

Permalink
x86, apic: Get rid of apicid_to_cpu_present assign on 64-bit
Browse files Browse the repository at this point in the history
In fact it's never get used on x86-64 (for 64 bit platform
we use differ technique to enumerate io-units).

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <20091108131645.GD5300@lenovo>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Cyrill Gorcunov authored and Ingo Molnar committed Nov 8, 2009
1 parent 4343fe1 commit f4a70c5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/x86/kernel/apic/apic_noop.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,12 @@ struct apic apic_noop = {

.cpu_to_logical_apicid = noop_cpu_to_logical_apicid,
.cpu_present_to_apicid = default_cpu_present_to_apicid,

#ifdef CONFIG_X86_32
.apicid_to_cpu_present = default_apicid_to_cpu_present,
#else
.apicid_to_cpu_present = NULL,
#endif

.setup_portio_remap = NULL,
.check_phys_apicid_present = default_check_phys_apicid_present,
Expand Down

0 comments on commit f4a70c5

Please sign in to comment.