iommu/exynos: do not include removed header
Subsystems (3)
PATCH v11 1/27 iommu/exynos: do not include removed header
Commit 25e9d28d92 (ARM: EXYNOS: remove system mmu initialization from exynos tree) removed arch/arm/mach-exynos/mach/sysmmu.h header without removing remaining use of it from exynos-iommu driver, thus causing a compilation error.
This patch fixes the error by removing respective include line from exynos-iommu.c.
--- drivers/iommu/exynos-iommu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/iommu/exynos-iommu.c +1 -2
@@ -12,6 +12,7 @@#define DEBUG #endif +#include <linux/kernel.h> #include <linux/io.h> #include <linux/interrupt.h> #include <linux/platform_device.h>
@@ -29,8 +30,6 @@#include <asm/cacheflush.h> #include <asm/pgtable.h> -#include <mach/sysmmu.h> -/* We does not consider super section mapping (16MB) */ #define SECT_ORDER 20#define LPAGE_ORDER 16
Signature · 1 line
1.7.9.5
Quoted 19 lines · Cho KyongHo
Commit
25e9d28d92(ARM: EXYNOS: remove system mmu initialization from exynos tree) removedarch/arm/mach-exynos/mach/sysmmu.hheader without removing remaining use of it from exynos-iommu driver, thus causing a compilation error.This patch fixes the error by removing respective include line from
exynos-iommu.c.CC Tomasz Figa <[email protected]>Signed-off-by Cho KyongHo <[email protected]>--- drivers/iommu/exynos-iommu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/iommu/exynos-iommu.c +0
-0
drivers/iommu/exynos-iommu.c line 15
Quoted 4 lines
drivers/iommu/exynos-iommu.c +1
-0@@ -12,6 +12,7 @@#define DEBUG #endif +#include <linux/kernel.h>
This change doesn't look related to the patch subject/description.
Signature · 2 lines
With warm regards, Sachin
Quoted 26 lines
From: Sachin Kamat [mailto:sachin.kamat at linaro.org]
Sent: Friday, March 14, 2014 7:00 PMQuoted 22 lines · Cho KyongHo
Commit
25e9d28d92(ARM: EXYNOS: remove system mmu initialization from exynos tree) removedarch/arm/mach-exynos/mach/sysmmu.hheader without removing remaining use of it from exynos-iommu driver, thus causing a compilation error.This patch fixes the error by removing respective include line from
exynos-iommu.c.CC Tomasz Figa <[email protected]>Signed-off-by Cho KyongHo <[email protected]>--- drivers/iommu/exynos-iommu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/iommu/exynos-iommu.c +0
-0@@ -12,6 +12,7 @@#define DEBUG #endif
Quoted 4 lines
drivers/iommu/exynos-iommu.c line 15
Quoted 1 line
drivers/iommu/exynos-iommu.c +1
-0+#include <linux/kernel.h> This change doesn't look related to the patch subject/description.
Yes. But it is simply added without any side-effect. Do you think it should be in a separate patch?. Actually, the added line is a redundant.
Regards,
KyongHo.
Quoted 26 lines · Cho KyongHo
Quoted 26 lines
From: Sachin Kamat [mailto:sachin.kamat at linaro.org]
Sent: Friday, March 14, 2014 7:00 PMQuoted 22 lines · Cho KyongHo
Commit
25e9d28d92(ARM: EXYNOS: remove system mmu initialization from exynos tree) removedarch/arm/mach-exynos/mach/sysmmu.hheader without removing remaining use of it from exynos-iommu driver, thus causing a compilation error.This patch fixes the error by removing respective include line from
exynos-iommu.c.CC Tomasz Figa <[email protected]>Signed-off-by Cho KyongHo <[email protected]>--- drivers/iommu/exynos-iommu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/iommu/exynos-iommu.c +0
-0@@ -12,6 +12,7 @@#define DEBUG #endif
Quoted 7 lines
Quoted 4 lines
drivers/iommu/exynos-iommu.c line 15
Quoted 1 line
drivers/iommu/exynos-iommu.c +1
-0+#include <linux/kernel.h> This change doesn't look related to the patch subject/description.
Yes. But it is simply added without any side-effect. Do you think it should be in a separate patch?. Actually, the added line is a redundant.
If it is redundant, then you shouldn't be adding it. If it is required, then please
mention about the need in the commit description if not a separate patch.
Signature · 2 lines
With warm regards, Sachin
Quoted 31 lines · Sachin Kamat
Quoted 30 lines · Cho KyongHo
Quoted 30 lines
From: Sachin Kamat [mailto:sachin.kamat at linaro.org]
Sent: Friday, March 14, 2014 7:00 PMQuoted 19 lines · Cho KyongHo
Commit
25e9d28d92(ARM: EXYNOS: remove system mmu initialization from exynos tree) removedarch/arm/mach-exynos/mach/sysmmu.hheader without removing remaining use of it from exynos-iommu driver, thus causing a compilation error.This patch fixes the error by removing respective include line from
exynos-iommu.c.CC Tomasz Figa <[email protected]>Signed-off-by Cho KyongHo <[email protected]>--- drivers/iommu/exynos-iommu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/iommu/exynos-iommu.c +0
-0drivers/iommu/exynos-iommu.c line 15
Quoted 4 lines
drivers/iommu/exynos-iommu.c +1
-0@@ -12,6 +12,7 @@#define DEBUG #endif +#include <linux/kernel.h> This change doesn't look related to the patch subject/description.
Quoted 8 lines
Quoted 3 lines
Yes. But it is simply added without any side-effect. Do you think it should be in a separate patch?. Actually, the added line is a redundant.
If it is redundant, then you shouldn't be adding it. If it is required, then please
mention about the need in the commit description if not a separate patch.
Ok.
Thanks for the advice.
KyongHo