diff options
author | Leonardo Bras <leobras.c@gmail.com> | 2021-08-17 03:39:22 -0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-08-27 00:56:54 +1000 |
commit | 92a23219299cedde52e3298788484f4875d5ce0f (patch) | |
tree | 494c17bf5b3d1f367af19d8ef5e0d2f29e4757f6 /arch/powerpc/kvm | |
parent | 4ff8677a0b192a58d998d1d34fc5168203041a24 (diff) | |
download | lwn-92a23219299cedde52e3298788484f4875d5ce0f.tar.gz lwn-92a23219299cedde52e3298788484f4875d5ce0f.zip |
powerpc/pseries/iommu: Add ddw_list_new_entry() helper
There are two functions creating direct_window_list entries in a
similar way, so create a ddw_list_new_entry() to avoid duplicity and
simplify those functions.
Signed-off-by: Leonardo Bras <leobras.c@gmail.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210817063929.38701-5-leobras.c@gmail.com
Diffstat (limited to 'arch/powerpc/kvm')
0 files changed, 0 insertions, 0 deletions