aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2011-02-18 16:21:06 +0100
committerRussell King <[email protected]>2011-02-19 11:24:05 +0000
commit71efb063f4a145ae420be054f5a91dcf7c19b375 (patch)
tree2fb96d55e39d687d378822b1598dca72c79b720e /tools/perf/util/scripting-engines/trace-event-python.c
parent885028e4ba4caf49d565c96481e1a05220ecb517 (diff)
ARM: 6742/1: pmu: avoid setting IRQ affinity on UP systems
Now that we can execute a CONFIG_SMP kernel on a uniprocessor system, extra care has to be taken in the PMU IRQ affinity setting code to ensure that we don't always fail to initialise. This patch changes the CPU PMU initialisation code so that when we only have a single IRQ, whose affinity can not be changed at the controller, we report success (0) rather than -EINVAL. Reported-by: Avik Sil <[email protected]> Acked-by: Jamie Iles <[email protected]> Signed-off-by: Will Deacon <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions