x86: fix comment for set_real_mode_permissions
PATCH 1/1 x86: fix comment for set_real_mode_permissions
The function which gets called very early is setup_real_mode(). The set_real_mode_permissions() function is the arch_initcall.
Cc Jarkko Sakkinen <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
Signed-off-by Cesar Eduardo Barros <[email protected]>
--- arch/x86/realmode/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/realmode/init.c +1 -1
@@ -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.
Signature · 1 line
1.7.11.7
Quoted 8 lines · Cesar Eduardo Barros
The function which gets called very early is
setup_real_mode(). Theset_real_mode_permissions()function is thearch_initcall.Cc Jarkko Sakkinen <[email protected]>Cc Thomas Gleixner <[email protected]>Cc Ingo Molnar <[email protected]>Cc "H. Peter Anvin" <[email protected]>Signed-off-by Cesar Eduardo Barros <[email protected]>
Acked-by Jarkko Sakkinen <[email protected]>
Quoted 20 lines
--- arch/x86/realmode/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/x86/realmode/init.c +1
-1@@ -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. Signature · 1 line
1.7.11.7
/Jarkko