Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759598Ab2J0WeZ (ORCPT ); Sat, 27 Oct 2012 18:34:25 -0400 Received: from smtp-03.mandic.com.br ([200.225.81.143]:37668 "EHLO smtp-03.mandic.com.br" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759547Ab2J0WeW (ORCPT ); Sat, 27 Oct 2012 18:34:22 -0400 From: Cesar Eduardo Barros To: x86@kernel.org Cc: linux-kernel@vger.kernel.org, Cesar Eduardo Barros , Jarkko Sakkinen , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" Subject: [PATCH] x86: fix comment for set_real_mode_permissions Date: Sat, 27 Oct 2012 20:34:14 -0200 Message-Id: <1351377255-21092-1-git-send-email-cesarb@cesarb.net> X-Mailer: git-send-email 1.7.11.7 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1233 Lines: 33 The function which gets called very early is setup_real_mode(). The set_real_mode_permissions() function is the arch_initcall. Cc: Jarkko Sakkinen Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Signed-off-by: Cesar Eduardo Barros --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/