Sebastian Andrzej Siewior 2fcc1e8ac4 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>
2018-03-29 10:38:16 +02:00
..
2018-02-06 09:59:40 -08:00
2018-01-17 15:25:50 +01:00
2017-08-23 16:28:09 +02:00
2018-02-08 12:03:54 -08:00
2018-02-08 12:03:54 -08:00
2018-01-17 15:25:50 +01:00
2018-01-17 15:25:50 +01:00
2017-11-06 10:40:53 -07:00
2018-01-17 15:25:50 +01:00
2018-01-17 15:25:50 +01:00