Skip to contentSkip to conversation

iommu/exynos: do not include removed header

PATCH Superseded Cho KyongHo 2 participants 3 messages Aug 8, 2013 – Aug 9, 2013

Subsystems (3)

v9 of 11 Superseded Latest is v11 →

lore
Share & tools
lore
#0 lore raw

PATCH v9 1/16 iommu/exynos: do not include removed header

This commit remove <mach/sysmmu.h> which is removed.

---
 drivers/iommu/exynos-iommu.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/iommu/exynos-iommu.c +1 -2
index 3f32d64..233f382 100644
@@ -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.2.5
#1 lore raw

Hi KyongHo,

Quoted 1 line · On Thursday 08 of August 2013 18:37:25 Cho KyongHo wrote:

This commit remove <mach/sysmmu.h> which is removed.

I would prefer a more meaningful commit message, something among following lines:

8<---
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.
--->8

Also a sentence explaining why linux/kernel.h header must be included would be nice.

Quoted 1 line

Please note that as far as I'm aware of, tags should be made using western name writing convention, i.e. starting with first name.

Best regards,
Tomasz

Quoted 25 lines
---
 drivers/iommu/exynos-iommu.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/iommu/exynos-iommu.c +1 -2
index 3f32d64..233f382 100644
@@ -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
#2 lore raw
Quoted 14 lines · Tomasz Figa

Hi KyongHo,

Quoted 1 line · On Thursday 08 of August 2013 18:37:25 Cho KyongHo wrote:

This commit remove <mach/sysmmu.h> which is removed.

I would prefer a more meaningful commit message, something among following lines:

8<---
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.

Quoted 4 lines

This patch fixes the error by removing respective include line from exynos- iommu.c.
--->8

Ok.

Quoted 8 lines

Also a sentence explaining why linux/kernel.h header must be included would be nice.

Quoted 1 line

Please note that as far as I'm aware of, tags should be made using western name writing convention, i.e. starting with first name.

Oh, I didn't think that the order of family/given names are the matter. I don't care about changing the order.

Thanks.

KyongHo.

Quoted 28 lines

Best regards,
Tomasz

Quoted 25 lines
---
 drivers/iommu/exynos-iommu.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/iommu/exynos-iommu.c +1 -2
index 3f32d64..233f382 100644
@@ -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