diff options
author | Bharat Bhushan <Bharat.Bhushan@freescale.com> | 2014-04-21 09:38:59 (GMT) |
---|---|---|
committer | Jose Rivera <German.Rivera@freescale.com> | 2014-04-25 19:49:48 (GMT) |
commit | b4b2f3299c470b906161e541d6468e7917521fa5 (patch) | |
tree | 64f099d8810b01a070d3c0a66d01ac20960fd43a /drivers | |
parent | d94cac7c7df1cd82be57150e8d99054058646779 (diff) | |
download | linux-fsl-qoriq-b4b2f3299c470b906161e541d6468e7917521fa5.tar.xz |
vfio: Fix dummy-iommu compilation
We are getting compilation error because commit id
"9a110858ed2e494b8be683c6959113f73685eb1f" converts
compund_trans_head() to compound_head() and similar change
required in drivers/vfio/vfio_iommu_dummy.c.
Signed-off-by: Bharat Bhushan <Bharat.Bhushan@freescale.com>
Change-Id: Ie9686ce7ac34b0eb2609b8d9458493815c94e65b
Reviewed-on: http://git.am.freescale.net:8181/11276
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Varun Sethi <Varun.Sethi@freescale.com>
Reviewed-by: Mihai Claudiu Caraman <mihai.caraman@freescale.com>
Reviewed-by: Stuart Yoder <stuart.yoder@freescale.com>
Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/vfio/vfio_iommu_dummy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/vfio/vfio_iommu_dummy.c b/drivers/vfio/vfio_iommu_dummy.c index 865045a..9cbd90c 100644 --- a/drivers/vfio/vfio_iommu_dummy.c +++ b/drivers/vfio/vfio_iommu_dummy.c @@ -127,12 +127,12 @@ static bool is_invalid_reserved_pfn(unsigned long pfn) if (pfn_valid(pfn)) { bool reserved; struct page *tail = pfn_to_page(pfn); - struct page *head = compound_trans_head(tail); + struct page *head = compound_head(tail); reserved = !!(PageReserved(head)); if (head != tail) { /* * "head" is not a dangling pointer - * (compound_trans_head takes care of that) + * (compound_head takes care of that) * but the hugepage may have been split * from under us (and we may not hold a * reference count on the head page so it can |