mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86: fix comment for set_real_mode_permissions
@ 2012-10-27 22:34 Cesar Eduardo Barros
  2012-10-29  7:41 ` Jarkko Sakkinen
  0 siblings, 1 reply; 2+ messages in thread
From: Cesar Eduardo Barros @ 2012-10-27 22:34 UTC (permalink / raw)
  To: x86
  Cc: linux-kernel, Cesar Eduardo Barros, Jarkko Sakkinen,
	Thomas Gleixner, Ingo Molnar, H. Peter Anvin

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>
---
 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


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

* Re: [PATCH] x86: fix comment for set_real_mode_permissions
  2012-10-27 22:34 [PATCH] x86: fix comment for set_real_mode_permissions Cesar Eduardo Barros
@ 2012-10-29  7:41 ` Jarkko Sakkinen
  0 siblings, 0 replies; 2+ messages in thread
From: Jarkko Sakkinen @ 2012-10-29  7:41 UTC (permalink / raw)
  To: Cesar Eduardo Barros
  Cc: x86, linux-kernel, Thomas Gleixner, Ingo Molnar, H. Peter Anvin

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

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

end of thread, other threads:[~2012-10-29  7:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-27 22:34 [PATCH] x86: fix comment for set_real_mode_permissions Cesar Eduardo Barros
2012-10-29  7:41 ` Jarkko Sakkinen

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