Skip to contentSkip to conversation

arm: standardize /proc/iomem "Kernel code" name

PATCH In review Kees Cook 2 participants 2 messages Dec 9, 2011 Arm (32-bit)

lore
Share & tools
lore

Kees Cook

author
#0 lore raw

PATCH 1/1 arm: standardize /proc/iomem "Kernel code" name

All other ports use "Kernel code" to identify the Kernel text segment in /proc/iomem. Change the ARM resources to do the same.

---
 arch/arm/kernel/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/kernel/setup.c +1 -1
index 3448a3f..a34dbf6 100644
@@ -158,7 +158,7 @@ static struct resource mem_res[] = {
 		.flags = IORESOURCE_MEM
 	},
 	{
-		.name = "Kernel text",
+		.name = "Kernel code",
 		.start = 0,
 		.end = 0,
 		.flags = IORESOURCE_MEM
Signature · 5 lines
1.7.5.4


-- 
Kees Cook                                            @outflux.net
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Kees Cook

All other ports use "Kernel code" to identify the Kernel text segment in /proc/iomem. Change the ARM resources to do the same.

Please submit the patch here:
http://www.arm.linux.org.uk/developer/patches/

Quoted 24 lines
---
 arch/arm/kernel/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/kernel/setup.c +1 -1
index 3448a3f..a34dbf6 100644
@@ -158,7 +158,7 @@ static struct resource mem_res[] = {
 		.flags = IORESOURCE_MEM
 	},
 	{
-		.name = "Kernel text",
+		.name = "Kernel code",
 		.start = 0,
 		.end = 0,
 		.flags = IORESOURCE_MEM
Signature · 5 lines
1.7.5.4


-- 
Kees Cook                                            @outflux.net