diff options
| author | Petr Tesarik <[email protected]> | 2023-08-01 06:23:57 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2023-08-01 16:02:09 +0000 |
| commit | 05ee774122bd4a2f298668d6d5fc9e7b685a5e31 (patch) | |
| tree | 7144d0ef02ca1d93c0355de1ad5fa8349dadd3db /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | swiotlb: bail out of swiotlb_init_late() if swiotlb is already allocated (diff) | |
| download | kernel-05ee774122bd4a2f298668d6d5fc9e7b685a5e31.tar.gz kernel-05ee774122bd4a2f298668d6d5fc9e7b685a5e31.zip | |
swiotlb: make io_tlb_default_mem local to swiotlb.c
SWIOTLB implementation details should not be exposed to the rest of the
kernel. This will allow to make changes to the implementation without
modifying non-swiotlb code.
To avoid breaking existing users, provide helper functions for the few
required fields.
As a bonus, using a helper function to initialize struct device allows to
get rid of an #ifdef in driver core.
Signed-off-by: Petr Tesarik <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
