unicore32: standardize /proc/iomem "Kernel code" name
PATCH 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 ARM resources to do the same.
--- arch/unicore32/kernel/setup.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/unicore32/kernel/setup.c +1 -1
@@ -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
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.Signed-off-by Kees Cook <[email protected]>
Thanks Cook.
Our architecture/ISA is unicore32, not arm.
Guan Xuetao
Quoted 21 lines
--- arch/unicore32/kernel/setup.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)arch/unicore32/kernel/setup.c +1
-1@@ -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
Quoted 9 lines · Guan Xuetao
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.Signed-off-by Kees Cook <[email protected]>Thanks Cook.
Our architecture/ISA is unicore32, not arm.
Hah, oops, sorry. I reused the commit message I sent for a similar change in ARM. :)
Signature · 2 lines
Kees Cook ChromeOS Security
Quoted 4 lines · On Friday 09 December 2011 13:13:46 Kees Cook wrote:
All other ports use "Kernel code" to identify the Kernel text segment in
/proc/iomem. Change the ARM resources to do the same.Signed-off-by Kees Cook <[email protected]>
Your patch description says ARM, not unicore32. Otherwise looks ok to me.