aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorLin Ming <[email protected]>2011-12-13 09:36:03 +0800
committerLen Brown <[email protected]>2012-01-17 05:25:08 -0500
commitd640113fe80e45ebd4a5b420b220d3f6bf37f682 (patch)
tree5786b877c62ce19e0a282c51d14d69373c2814e6 /tools/perf/scripts/python/net_dropmonitor.py
parent805a6af8dba5dfdd35ec35dc52ec0122400b2610 (diff)
ACPI: processor: fix acpi_get_cpuid for UP processor
For UP processor, it is likely that no _MAT method or MADT table defined. So currently acpi_get_cpuid(...) always return -1 for UP processor. This is wrong. It should return valid value for CPU0. In the other hand, BIOS may define multiple CPU handles even for UP processor, for example Scope (_PR) { Processor (CPU0, 0x00, 0x00000410, 0x06) {} Processor (CPU1, 0x01, 0x00000410, 0x06) {} Processor (CPU2, 0x02, 0x00000410, 0x06) {} Processor (CPU3, 0x03, 0x00000410, 0x06) {} } We should only return valid value for CPU0's acpi handle. And return invalid value for others. http://marc.info/?t=132329819900003&r=1&w=2 Cc: [email protected] Reported-and-tested-by: [email protected] Signed-off-by: Lin Ming <[email protected]> Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions