diff options
| author | Arnd Bergmann <[email protected]> | 2023-07-26 16:54:09 +0200 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-08-21 13:37:28 -0700 |
| commit | 68af05143fd4b49d4b12eab8d63c91ffbc7c4e5e (patch) | |
| tree | c75176faaab07f7698efc0866d44da1155d112d2 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 1cac4c0760ecd0c33b11b7b5c609264ea6bed5ed (diff) | |
kernel/iomem.c: remove __weak ioremap_cache helper
No portable code calls into this function any more, and on architectures
that don't use or define their own, it causes a warning:
kernel/iomem.c:10:22: warning: no previous prototype for 'ioremap_cache' [-Wmissing-prototypes]
10 | __weak void __iomem *ioremap_cache(resource_size_t offset, unsigned long size)
Fold it into the only caller that uses it on architectures
without the #define.
Note that the fallback to ioremap is probably still wrong on
those architectures, but this is what it's always done there.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Baoquan He <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions