diff options
author | Stephen Boyd <[email protected]> | 2016-01-20 14:58:32 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-01-20 17:09:18 -0800 |
commit | ef5c16b85b2a6d55ae12a8d7125f3908c8d271d4 (patch) | |
tree | 0941c8d187141a432314f7ea5d25dc678ded465b /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 564b026fbd0d28e9f70fb3831293d2922bb7855b (diff) |
arch/frv/include/asm/io.h: accept const void pointers for read{b,w,l}()
The SMD driver is reading and writing chunks of data to iomem, and
there's an __iowrite32_copy() function for the writing part, but no
__ioread32_copy() function for the reading part. This series adds
__ioread32_copy() and uses it in two places.
This patch (of 4):
The frv port uses compiler builtins, __builtin_read*(), for the I/O read
routines. Unfortunately, these don't accept const void pointers although
the generic ASM implementations do, so generic code passing const pointers
to these APIs cause compilers to emit warnings. Add wrapper functions
that cast away the const to avoid the warnings.
Signed-off-by: Stephen Boyd <[email protected]>
Cc: David Howells <[email protected]>
Cc: <[email protected]>
Cc: Bjorn Andersson <[email protected]>
Cc: Hauke Mehrtens <[email protected]>
Cc: Paul Walmsley <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions