diff options
| author | Tejun Heo <[email protected]> | 2011-01-23 14:37:31 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2011-01-28 14:54:05 +0100 |
| commit | 6f802c4bfa2acf1bffa8341fe9084da0205d581d (patch) | |
| tree | c5b7724f18c2470cd1132145e8bd6b681abdcfed /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 4c321ff8a01a95badf5d5403d80ca4e0ab07fce7 (diff) | |
x86: Always use x86_cpu_to_logical_apicid for cpu -> logical apic id
Currently, cpu -> logical apic id translation is done by
apic->cpu_to_logical_apicid() callback which may or may not use
x86_cpu_to_logical_apicid. This is unnecessary as it should
always equal logical_smp_processor_id() which is known early
during CPU bring up.
Initialize x86_cpu_to_logical_apicid after apic->init_apic_ldr()
in setup_local_APIC() and always use x86_cpu_to_logical_apicid
for cpu -> logical apic id mapping.
Signed-off-by: Tejun Heo <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions