diff options
author | Helge Deller <deller@gmx.de> | 2022-03-12 21:03:33 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-03-16 22:52:12 +0100 |
commit | 0a575497691486a75bdc3ae551094432b0761a84 (patch) | |
tree | f89b8c14334669e759965382cf3f43005199e978 /drivers/iommu/virtio-iommu.c | |
parent | a58e9d0984e8dad53f17ec73ae3c1cc7f8d88151 (diff) | |
download | linux-0a575497691486a75bdc3ae551094432b0761a84.tar.bz2 |
parisc: Avoid calling SMP cache flush functions on cache-less machines
At least the qemu virtual machine does not provide D- and I-caches,
so skip triggering SMP irqs to flush caches on such machines.
Further optimize the caching code by using static branches and making
some functions static.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/iommu/virtio-iommu.c')
0 files changed, 0 insertions, 0 deletions