Skip to contentSkip to conversation

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

PATCH In review Kees Cook 2 participants 2 messages Dec 12, 2011 – Dec 13, 2011

lore
Share & tools
lore

Kees Cook

author
#0 lore raw

PATCH v2 1/1 unicore32: standardize /proc/iomem "Kernel code" name

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

---
v2: Fixed my copy/paste-o.

---
 arch/unicore32/kernel/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/unicore32/kernel/setup.c +1 -1
index 471b6bc..2a64061 100644
@@ -64,7 +64,7 @@ static char default_command_line[COMMAND_LINE_SIZE] __initdata = CONFIG_CMDLINE;
  */
 static struct resource mem_res[] = {
 	{
-		.name = "Kernel text",
+		.name = "Kernel code",
 		.start = 0,
 		.end = 0,
 		.flags = IORESOURCE_MEM
Signature · 5 lines
1.7.5.4


-- 
Kees Cook                                            @outflux.net
#1 lore raw
Quoted 5 lines · Kees Cook

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

Thanks.
I have pushed this patch into my repo.

Guan Xuetao

Quoted 23 lines

---
v2: Fixed my copy/paste-o.

---
 arch/unicore32/kernel/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/unicore32/kernel/setup.c +1 -1
index 471b6bc..2a64061 100644
@@ -64,7 +64,7 @@ static char default_command_line[COMMAND_LINE_SIZE] __initdata = CONFIG_CMDLINE;
  */
 static struct resource mem_res[] = {
 	{
-		.name = "Kernel text",
+		.name = "Kernel code",
 		.start = 0,
 		.end = 0,
 		.flags = IORESOURCE_MEM
Signature · 1 line
1.7.5.4