aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2018-05-14 22:50:31 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2018-05-18 21:59:56 +1000
commit8056fe28d04607106e7d418bd9ee2e63562def50 (patch)
tree04aa8f233d676a8925d27356c942b3d92adbfb4d /tools/perf/scripts/python/call-graph-from-sql.py
parentpowerpc/perf: Fix memory allocation for core-imc based on num_possible_cpus() (diff)
downloadlinux-8056fe28d04607106e7d418bd9ee2e63562def50.tar.gz
linux-8056fe28d04607106e7d418bd9ee2e63562def50.zip
powerpc/io: Add __raw_writeq_be() __raw_rm_writeq_be()
Add byte-swapping versions of __raw_writeq() and __raw_rm_writeq(). This allows us to avoid sparse warnings caused by passing __be64 to __raw_writeq(), which takes unsigned long: arch/powerpc/platforms/powernv/pci-ioda.c:1981:38: warning: incorrect type in argument 1 (different base types) expected unsigned long [unsigned] v got restricted __be64 [usertype] <noident> It's also generally preferable to use a byte-swapping accessor rather than doing it by hand in the code, which is more bug prone. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Reviewed-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions