From nobody Tue Nov 26 00:51:51 2024 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 048561B87C1; Mon, 25 Nov 2024 17:59:00 +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=1732557542; cv=none; b=DfDBcD4WwC0fMM4cj2QvLXWIYP77X8qTKm9T126493vc81l60f5kMW+ordy0HkZuRORc9vPOlaoAatJfRtQc1vj8TLSFoO+MuNYC9DT9Uj+UlH6aPmZ8PiSYkpfIpmpbDElDAhrgpaWyXBAeDhY8PXBPtQT9zE1eSJnEJiaT2gk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732557542; 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=E/3+a2f8wRfWVs9BZipHO0y3DcU5Ox+xgwUbGl/oeyrGsJicNcHn1cmM6tm22UG1YxOiIuITumbRQCk6rbVE/zBKUxsvXHvwriRozYbR6yRYfzLGnnppIhcP7PhkLNo8xpfFSGdvBus3XJwX2OyHMbsGdeToFpGXKN1BPhDg4nk= 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=hqjpvfC0; 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="hqjpvfC0" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1732557541; x=1764093541; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=z6u/32qG+4VOxWxyQMcxtikghEw3g/GuPpIgKl24hiQ=; b=hqjpvfC0/HIsXftcQvowVlJ8wzR8JBoYHHfxB2KRKTT3Gz8xL7qY4op1 GrblNpdrNkXH7exxya7zEDAZnKZnkTXSFOrLDeE9tCLVcr6BCqaB4yZx7 t4sBw68Al9xDrHOMd9SqbxTpWCOGREvTH44NXpWSGcJDXQUPBo89GwcFf bywDZTmf0kjWz79eY1iEFr2+6wS4VDdBKwJO4vBCVURWcsZrNLul6eIh/ s+msubw14UtCxmtgkpzRPqzcEI3GDG6NM3CAHbx8bHWVoyNe2WKvfBEdN yZ5GwJK5VVvtWsRNz9EYgWrHw6H0gYSV4dIMNWn55L4ZfIEQdii+PhBsN Q==; X-CSE-ConnectionGUID: QcIy3zy5RLCJ7zVSqoxwVg== X-CSE-MsgGUID: 79PrQIPUQpyVSrn+vDhdig== X-IronPort-AV: E=Sophos;i="6.12,183,1728975600"; d="scan'208";a="38361997" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 25 Nov 2024 10:58:52 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) 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, 25 Nov 2024 10:58:42 -0700 Received: from valentina.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Mon, 25 Nov 2024 10:58:39 -0700 From: Valentina Fernandez To: , , , , , , , , , , , , , , , CC: , , Subject: [PATCH v4 2/4] riscv: export __cpuid_to_hartid_map Date: Mon, 25 Nov 2024 17:58:16 +0000 Message-ID: <20241125175818.213108-3-valentina.fernandezalanis@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241125175818.213108-1-valentina.fernandezalanis@microchip.com> References: <20241125175818.213108-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