aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMeador Inge <[email protected]>2011-03-14 10:01:07 +0000
committerBenjamin Herrenschmidt <[email protected]>2011-03-21 11:01:32 +1100
commitd6a2639b887fcf90b422caccca4aee216bd1120e (patch)
treeca3a72a579fbc05a24726aba89a162b990d6a235 /tools/perf/scripts/python/net_dropmonitor.py
parentdfec2202729e2460d67649a04756f0c3d8dcd8a6 (diff)
powerpc: Factoring mpic cpu id fetching into a function
The following code snippet: unsigned int cpu = 0; if (mpic->flags & MPIC_PRIMARY) cpu = hard_smp_processor_id(); is seen in several places in the 'mpic.c' code. This changeset factors that pattern out into a helper function called 'mpic_processor_id'. Signed-off-by: Meador Inge <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions