lkml.org 
[lkml]   [2017]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] x86/apic: Fix a comment in init_apic_mappings()
Date
The commit c0104d38a740 ("x86, apic: Unify identical
register_lapic_address() functions") renames acpi_register_lapic_address
to register_lapic_address.

But acpi_register_lapic_address remains in a comment, and renaming it
to register_lapic_address is not suitable for this comment.

Remove acpi_register_lapic_address and rewrite the comment.

Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
---
arch/x86/kernel/apic/apic.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c
index 4261b32..70b0243 100644
--- a/arch/x86/kernel/apic/apic.c
+++ b/arch/x86/kernel/apic/apic.c
@@ -1798,8 +1798,8 @@ void __init init_apic_mappings(void)
apic_phys = mp_lapic_addr;

/*
- * acpi lapic path already maps that address in
- * acpi_register_lapic_address()
+ * ACPI LAPIC path already maps that address during
+ * early parsing LAPIC address in MADT
*/
if (!acpi_lapic && !smp_found_config)
register_lapic_address(apic_phys);
--
2.5.5


\
 
 \ /
  Last update: 2017-03-06 14:08    [W:0.176 / U:1.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site