[PATCH] x86/apic: fix apic_id_is_primary_thread() comment

From: Yi Wang
Date: Wed Oct 23 2019 - 04:44:45 EST


No functional change.

Signed-off-by: Yi Wang <wang.yi59@xxxxxxxxxx>
---
arch/x86/kernel/apic/apic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c
index 9e2dd2b..aefd970 100644
--- a/arch/x86/kernel/apic/apic.c
+++ b/arch/x86/kernel/apic/apic.c
@@ -2335,7 +2335,7 @@ void disconnect_bsp_APIC(int virt_wire_setup)
#ifdef CONFIG_SMP
/**
* apic_id_is_primary_thread - Check whether APIC ID belongs to a primary thread
- * @id: APIC ID to check
+ * @apicid: APIC ID to check
*/
bool apic_id_is_primary_thread(unsigned int apicid)
{
--
1.8.3.1