unicore32: standardize /proc/iomem "Kernel code" name
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.
Signed-off-by Kees Cook <[email protected]>
Acked-by Arnd Bergmann <[email protected]>
---
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
@@ -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 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.Signed-off-by Kees Cook <[email protected]>Acked-by Arnd Bergmann <[email protected]>
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@@ -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