iommu/exynos: Allocate lv2 page table from own slab
authorCho KyongHo <pullip.cho@samsung.com>
Mon, 12 May 2014 06:14:48 +0000 (11:44 +0530)
committerJoerg Roedel <jroedel@suse.de>
Tue, 13 May 2014 17:12:52 +0000 (19:12 +0200)
commit734c3c732ca91adbe705f2a289509627810231a3
tree126fab4005743d5a8821d5d14f44a0d4ea414be4
parent61128f08fc110fc27cd50f5a8ca57c6a8c3bcddc
iommu/exynos: Allocate lv2 page table from own slab

Since kmalloc() does not guarantee that the allignment of 1KiB when it
allocates 1KiB, it is required to allocate lv2 page table from own
slab that guarantees alignment of 1KiB

Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
Signed-off-by: Shaik Ameer Basha <shaik.ameer@samsung.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/exynos-iommu.c