Commit 9ad64801 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

iommu/iommupt: Fix build error in genericpt unit-tests



Fix the include of iommu-pages.h in the KUnit tests for the IOMMU
generic page-table code to make the tests compile again.

Reported-by: default avatarThorsten Leemhuis <linux@leemhuis.info>
Closes: https://lore.kernel.org/all/9844d4cb-f517-478b-9911-b6dc1a963b8e@leemhuis.info/


Reported-by: default avatar"Longia, Amandeep Kaur" <amandeepkaur.longia@amd.com>
Closes: https://lore.kernel.org/all/e641c955-25ad-4eae-b3fe-4392966cf768@amd.com/


Fixes: 1dd4187f ("iommupt: Add a kunit test for Generic Page Table")
Reviewed-by: default avatarJason Gunthorpe <jgg@nvidia.com>
Tested-by: default avatarThorsten Leemhuis <linux@leemhuis.info>
Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
parent 5cb637d9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@
#define GENERIC_PT_KUNIT 1
#include <kunit/device.h>
#include <kunit/test.h>
#include <../../iommu-pages.h>
#include "../iommu-pages.h"
#include "pt_iter.h"

#define pt_iommu_table_cfg CONCATENATE(pt_iommu_table, _cfg)