mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 06:31:58 +02:00
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: Thorsten Leemhuis <linux@leemhuis.info>
Closes: https://lore.kernel.org/all/9844d4cb-f517-478b-9911-b6dc1a963b8e@leemhuis.info/
Reported-by: "Longia, Amandeep Kaur" <amandeepkaur.longia@amd.com>
Closes: https://lore.kernel.org/all/e641c955-25ad-4eae-b3fe-4392966cf768@amd.com/
Fixes: 1dd4187f53 ("iommupt: Add a kunit test for Generic Page Table")
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Tested-by: Thorsten Leemhuis <linux@leemhuis.info>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
This commit is contained in:
parent
5cb637d942
commit
9ad648017b
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user