diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2018-03-22 16:22:39 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2018-03-29 10:38:16 +0200 |
commit | 2fcc1e8ac4a8514c64f946178fc36c2e30e56a41 (patch) | |
tree | 2bc696ddcbd9ecf5ed0afca0cd594a3939415239 /drivers/iommu/fsl_pamu.c | |
parent | 4fde541c9dc114c5b448ad34b0286fe8b7c550f1 (diff) | |
download | linux-2fcc1e8ac4a8514c64f946178fc36c2e30e56a41.tar.bz2 |
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 <bigeasy@linutronix.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/fsl_pamu.c')
0 files changed, 0 insertions, 0 deletions