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.sakki...@intel.com> > Cc: Thomas Gleixner <t...@linutronix.de> > Cc: Ingo Molnar <mi...@redhat.com> > Cc: "H. Peter Anvin" <h...@zytor.com> > Signed-off-by: Cesar Eduardo Barros <ces...@cesarb.net>
Acked-by: Jarkko Sakkinen <jarkko.sakki...@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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/