* [PATCH] unicore32: standardize /proc/iomem "Kernel code" name
@ 2011-12-09 21:13 Kees Cook
2011-12-10 9:28 ` Arnd Bergmann
2011-12-10 10:24 ` Guan Xuetao
0 siblings, 2 replies; 4+ messages in thread
From: Kees Cook @ 2011-12-09 21:13 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 ARM resources to do the same.
Signed-off-by: Kees Cook <keescook@chromium.org>
---
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 related [flat|nested] 4+ messages in thread
* Re: [PATCH] unicore32: standardize /proc/iomem "Kernel code" name
2011-12-09 21:13 [PATCH] unicore32: standardize /proc/iomem "Kernel code" name Kees Cook
@ 2011-12-10 9:28 ` Arnd Bergmann
2011-12-10 10:24 ` Guan Xuetao
1 sibling, 0 replies; 4+ messages in thread
From: Arnd Bergmann @ 2011-12-10 9:28 UTC (permalink / raw)
To: Kees Cook; +Cc: linux-kernel, Guan Xuetao
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 <keescook@chromium.org>
Your patch description says ARM, not unicore32. Otherwise looks ok to me.
Acked-by: Arnd Bergmann <arnd@arndb.de>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] unicore32: standardize /proc/iomem "Kernel code" name
2011-12-09 21:13 [PATCH] unicore32: standardize /proc/iomem "Kernel code" name Kees Cook
2011-12-10 9:28 ` Arnd Bergmann
@ 2011-12-10 10:24 ` Guan Xuetao
2011-12-10 21:55 ` Kees Cook
1 sibling, 1 reply; 4+ messages in thread
From: Guan Xuetao @ 2011-12-10 10:24 UTC (permalink / raw)
To: Kees Cook; +Cc: linux-kernel, Arnd Bergmann
On Fri, 2011-12-09 at 13:13 -0800, 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 <keescook@chromium.org>
Thanks Cook.
Our architecture/ISA is unicore32, not arm.
Guan Xuetao
> ---
> 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] 4+ messages in thread
* Re: [PATCH] unicore32: standardize /proc/iomem "Kernel code" name
2011-12-10 10:24 ` Guan Xuetao
@ 2011-12-10 21:55 ` Kees Cook
0 siblings, 0 replies; 4+ messages in thread
From: Kees Cook @ 2011-12-10 21:55 UTC (permalink / raw)
To: gxt; +Cc: linux-kernel, Arnd Bergmann
On Sat, Dec 10, 2011 at 2:24 AM, Guan Xuetao <gxt@mprc.pku.edu.cn> wrote:
> On Fri, 2011-12-09 at 13:13 -0800, 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 <keescook@chromium.org>
>
> 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. :)
--
Kees Cook
ChromeOS Security
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-12-12 22:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-09 21:13 [PATCH] unicore32: standardize /proc/iomem "Kernel code" name Kees Cook
2011-12-10 9:28 ` Arnd Bergmann
2011-12-10 10:24 ` Guan Xuetao
2011-12-10 21:55 ` Kees Cook
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.