diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2018-03-22 15:22:39 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2018-03-29 08:38:16 +0000 |
| commit | 2fcc1e8ac4a8514c64f946178fc36c2e30e56a41 (patch) | |
| tree | 2bc696ddcbd9ecf5ed0afca0cd594a3939415239 /fs/proc/array.c | |
| parent | iommu/amd: Use `table' instead `irt' as variable name in amd_iommu_update_ga() (diff) | |
| download | kernel-2fcc1e8ac4a8514c64f946178fc36c2e30e56a41.tar.gz kernel-2fcc1e8ac4a8514c64f946178fc36c2e30e56a41.zip | |
iommu/amd: Factor out setting the remap table for a devid
Setting the IRQ remap table for a specific devid (or its alias devid)
includes three steps. Those three steps are always repeated each time
this is done.
Introduce a new helper function, move those steps there and use that
function instead. The compiler can still decide if it is worth to
inline.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
