summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-05-15 10:40:45 (GMT)
committerJoerg Roedel <jroedel@suse.de>2014-05-26 09:22:23 (GMT)
commitbc28191b165bb07f2817219da1b8c20246d022f6 (patch)
tree307abc0cd0ea048714accee6f7404406c9dbbdcb /block
parent251dac410d29c8ab432034e67472a53b6c3e497e (diff)
downloadlinux-bc28191b165bb07f2817219da1b8c20246d022f6.tar.xz
iommu/ipmmu-vmsa: Define driver-specific page directory sizes
The PTRS_PER_(PUD|PGD|PMD|PTE) macros evaluate to different values depending on whether LPAE is enabled. The IPMMU driver uses a long descriptor format regardless of LPAE, making those macros mismatch the IPMMU configuration on non-LPAE systems. Replace the macros by driver-specific versions that always evaluate to the right value. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions