From nobody Mon Feb 9 17:34:55 2026 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B60C62036EB; Mon, 2 Dec 2024 14:11:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733148678; cv=none; b=Ztk9oEkoQEvj9We20nQtpvwfMHsQi6a7z7oGwdeFT8r0gvo6Remhhh0Z9assy0XypLC2cWplaWq60oWyAw1TQ4Exp1FW7JAffgKl+9hCOp7dFpFNr50LQqXP41uPaeMTqRzIg0rM9JrEFzBd6G3Ovbbol+PblATcGCd4f++PR1g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733148678; c=relaxed/simple; bh=z6u/32qG+4VOxWxyQMcxtikghEw3g/GuPpIgKl24hiQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=PZJSRa/BJgMa6/Ukrm9Tlmzqf0uoUQu2YBW0UnjzNjWEB9eUDhOlujA38mY71tdWPCBXtr/YQPbU2Ihz9Y0KDNMf9WVWI/oV7mj1AmR27MkO1qG9e89KBRMb82Kol7mHo7ugRLvDvSXjnJIdwDX9p4JSk0GU+40PDQ2D4n9Z224= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=Pqy+4oDs; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="Pqy+4oDs" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1733148677; x=1764684677; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=z6u/32qG+4VOxWxyQMcxtikghEw3g/GuPpIgKl24hiQ=; b=Pqy+4oDshthaeyR/WVdMNjE5U/75hG4MGUPKZid8BKFy9t/3zVm9tt/5 tByllLOWWIgm+q/TT8kzdhkhgU6LTe7TwN0ZuN/ZZ2Rpey45mRpESGZO7 fSQ3cH3cRn/KZetxiTxU1dbtrK+Dz0a+7ol+tA6YULOkLKykUpptzZoCG ge9dysU59h/oqIaB7CuuhVAJSNICWOlqM6i4qAm5cEIUBGJ99laTT6iu9 DMc8YF4YRR8PbHu1ap+akuBIRoOkSD2XJtQxW9sQWzuBwtOree/im2UWM 2mNqJKFsfUrv5gLj//Amay3pccnFTcN8v2+zdqK4slOuNqrzP8NM7Yn1J w==; X-CSE-ConnectionGUID: 2KutSU5NQueuFpBXpCyxJA== X-CSE-MsgGUID: G43RZOjTRM2h8K5I5CB4+g== X-IronPort-AV: E=Sophos;i="6.12,202,1728975600"; d="scan'208";a="266205959" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 02 Dec 2024 07:11:08 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 2 Dec 2024 07:10:55 -0700 Received: from valentina.microchip.com (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Mon, 2 Dec 2024 07:10:53 -0700 From: Valentina Fernandez To: , , , , , , , CC: , , Subject: [PATCH v5 2/4] riscv: export __cpuid_to_hartid_map Date: Mon, 2 Dec 2024 14:11:05 +0000 Message-ID: <20241202141107.193809-3-valentina.fernandezalanis@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241202141107.193809-1-valentina.fernandezalanis@microchip.com> References: <20241202141107.193809-1-valentina.fernandezalanis@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" EXPORT_SYMBOL_GPL() is missing for __cpuid_to_hartid_map array. Export this symbol to allow drivers compiled as modules to use cpuid_to_hartid_map(). Signed-off-by: Valentina Fernandez --- arch/riscv/kernel/smp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/kernel/smp.c b/arch/riscv/kernel/smp.c index c180a647a30e..d58b5e751286 100644 --- a/arch/riscv/kernel/smp.c +++ b/arch/riscv/kernel/smp.c @@ -43,6 +43,7 @@ enum ipi_message_type { unsigned long __cpuid_to_hartid_map[NR_CPUS] __ro_after_init =3D { [0 ... NR_CPUS-1] =3D INVALID_HARTID }; +EXPORT_SYMBOL_GPL(__cpuid_to_hartid_map); =20 void __init smp_setup_processor_id(void) { --=20 2.34.1