lkml.org 
[lkml]   [2012]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: fix comment for set_real_mode_permissions
On Sat, Oct 27, 2012 at 08:34:14PM -0200, Cesar Eduardo Barros wrote:
> The function which gets called very early is setup_real_mode(). The
> set_real_mode_permissions() function is the arch_initcall.
>
> Cc: Jarkko Sakkinen <jarkko.sakkinen@intel.com>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Ingo Molnar <mingo@redhat.com>
> Cc: "H. Peter Anvin" <hpa@zytor.com>
> Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net>

Acked-by: Jarkko Sakkinen <jarkko.sakkinen@intel.com>

> ---
> arch/x86/realmode/init.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/realmode/init.c b/arch/x86/realmode/init.c
> index cbca565..b4c92c5 100644
> --- a/arch/x86/realmode/init.c
> +++ b/arch/x86/realmode/init.c
> @@ -84,7 +84,7 @@ void __init setup_real_mode(void)
> }
>
> /*
> - * set_real_mode_permissions() gets called very early, to guarantee the
> + * setup_real_mode() gets called very early, to guarantee the
> * availability of low memory. This is before the proper kernel page
> * tables are set up, so we cannot set page permissions in that
> * function. Thus, we use an arch_initcall instead.
> --
> 1.7.11.7
>

/Jarkko


\
 
 \ /
  Last update: 2012-10-29 09:21    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog