mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] unicore32: standardize /proc/iomem "Kernel code" name
@ 2011-12-12 23:04 Kees Cook
  2011-12-13  0:50 ` Guan Xuetao
  0 siblings, 1 reply; 2+ messages in thread
From: Kees Cook @ 2011-12-12 23:04 UTC (permalink / raw)
  To: linux-kernel; +Cc: Guan Xuetao, Arnd Bergmann

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 <keescook@chromium.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
---
v2: Fixed my copy/paste-o.
---
 arch/unicore32/kernel/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/unicore32/kernel/setup.c b/arch/unicore32/kernel/setup.c
index 471b6bc..2a64061 100644
--- a/arch/unicore32/kernel/setup.c
+++ b/arch/unicore32/kernel/setup.c
@@ -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
-- 
1.7.5.4


-- 
Kees Cook                                            @outflux.net

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] unicore32: standardize /proc/iomem "Kernel code" name
  2011-12-12 23:04 [PATCH v2] unicore32: standardize /proc/iomem "Kernel code" name Kees Cook
@ 2011-12-13  0:50 ` Guan Xuetao
  0 siblings, 0 replies; 2+ messages in thread
From: Guan Xuetao @ 2011-12-13  0:50 UTC (permalink / raw)
  To: Kees Cook; +Cc: linux-kernel, Arnd Bergmann

On Mon, 2011-12-12 at 15:04 -0800, Kees Cook wrote:
> 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 <keescook@chromium.org>
> Acked-by: Arnd Bergmann <arnd@arndb.de>

Thanks.
I have pushed this patch into my repo.

Guan Xuetao

> ---
> v2: Fixed my copy/paste-o.
> ---
>  arch/unicore32/kernel/setup.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/unicore32/kernel/setup.c b/arch/unicore32/kernel/setup.c
> index 471b6bc..2a64061 100644
> --- a/arch/unicore32/kernel/setup.c
> +++ b/arch/unicore32/kernel/setup.c
> @@ -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
> -- 
> 1.7.5.4
> 
> 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-13  0:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-12 23:04 [PATCH v2] unicore32: standardize /proc/iomem "Kernel code" name Kees Cook
2011-12-13  0:50 ` Guan Xuetao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome