Skip to contentSkip to conversation

x86: fix comment for set_real_mode_permissions

PATCH In review Cesar Eduardo Barros 2 participants 2 messages Oct 27, 2012 – Oct 29, 2012 x86

lore
Share & tools
lore
#0 lore raw

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]>
---
 arch/x86/realmode/init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/realmode/init.c +1 -1
index cbca565..b4c92c5 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Cesar Eduardo Barros

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]>
Quoted 20 lines
---
 arch/x86/realmode/init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/realmode/init.c +1 -1
index cbca565..b4c92c5 100644
@@ -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