Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5503149ybi; Tue, 30 Jul 2019 22:19:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqyGEonyyUYNQFrNXbsdKzKE+DyOWA4RQLElNj1V7QW1YJdSqOSw+zdrixipMGdzw9rvvBde X-Received: by 2002:a63:4f51:: with SMTP id p17mr91640488pgl.333.1564550368316; Tue, 30 Jul 2019 22:19:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564550368; cv=none; d=google.com; s=arc-20160816; b=BxJYigDflJxwy0c7ruvy8ruWnJMjqvrtwfzystMM1R0p0LjfWCvEnJEejRm8BidkWa 4QHmB+5QUlN/hEUhmZBLr+eJs5cBR88dUMTxkwJeKlYv2fTnZ2VVHIf8DGOGuGDYnycI 5RPgqLdZsBgx3H9ma+A/5H6ttVSgJ7fBBcWpBTV6YUjsZybtcAcqy1I72Bs+v9bRjqZo RsIY9bSO2ee6oftYgy4qANf3DEoclKNbMj6gln4NoOnLjs+UeElMQbUA6wFyTe/3AR7l dk1giC3tiuDowDfId1jnm+FeJjk88MPWWxEekwCjvG/YCLd4vE3w89aoPuxzQ6acyX7v Lr/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :ironport-sdr:ironport-sdr:ironport-sdr:dkim-signature; bh=jIm+kNoBKb9wqmR0gOiVMLohK6hvgl3cKY3+G9PoFI8=; b=0OYHLDSUDMbV257tPRALDpilAL+E3TwBysw8ctjH2thldajwmM/A6Hdz0f5ZoZiJH6 amvJd+RSQwSq+qmURJBp9DtpaAuDds19hGlna5LQ2B7sMD3jWmo6PcNHAoqmks0LyECB hDsAGoiVLZlAI5QUiS1cyzXehkvCqosQh3JpnsbVYpkL7Ukw08VGBrMzcVafG6dYMqp1 pNE7NgftskbYEXCdBA+r6BohfGdaX53txFlkKF9Kpqg+UIbULublnEMbKuZhb+S4I/XU kBKDznpe+UtYfAUL/09O9Ezt2UxB3X1Kr7Wsjf6NNezCJukEywUMWQrqynFgRe3M259c DKhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=B5QJPPLp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p9si14880957pgk.304.2019.07.30.22.19.13; Tue, 30 Jul 2019 22:19:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=B5QJPPLp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727722AbfGaBYi (ORCPT + 99 others); Tue, 30 Jul 2019 21:24:38 -0400 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:64336 "EHLO esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727616AbfGaBYi (ORCPT ); Tue, 30 Jul 2019 21:24:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1564536278; x=1596072278; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=EgHMt/UGrlopQ8ONP3bfsGEh2iUNdhTT7QH850cl4Xs=; b=B5QJPPLpICWSR2HCGVuCDS3SqKazwTC2FBYJe7ybd/r2QTL6DAgtEXgn 4eYPmcCfd70ePFTmQOw7xaKpB7FSZzuGuLUiR2BVhscGEOxtgk7Q4e04G e40+Bm8ryHapHK025HYWfpFWtMYLHV6MHQTktkqAwOQXeZtUrd26GE0DK pLQhgrtnYip1R50G9v5440mzHfhH1lvd5kNarlx6t2OvWIOeKhEMRebUi of8BusXWg64MBLQqyIjwMuW1KKNrKs9lqQkrP34qJTsGvRBYzbup4MIoq GoG1AhOuhK5aSZt6Cemu7BHIo+b0r3NC6Iq2FinIoY+nMJk0eGTQkUinJ g==; IronPort-SDR: 8HzYAN9GJ3zeMDiekiyeS6LZLGzknO0iyclUCd8MoS9DSP0Kff4y8crCuR/qRnN9u0SBE+wZfb h0TOEEFVbYDwgG1H4/wasS08qY3a/XRA7UCtK3W408Vd9jAyI5GvX+HqFDON7M/ygknOEh1S3a FCHFw/VZPx0YUQovcGFvAvp1eMXo2EyZz2ms3WqcPciM88oLrl0FZkrLkwmPaWNT09Pbbe9zWO Z4+iFwyZZD/o6eOL1AMPBK+V4qwzimwaTYcTUOh82VIGNuqB216QUK5Vi53s3vjwl3LD25wgg9 P0M= X-IronPort-AV: E=Sophos;i="5.64,328,1559491200"; d="scan'208";a="115555809" Received: from uls-op-cesaip02.wdc.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 31 Jul 2019 09:24:38 +0800 IronPort-SDR: A6yOCge3T37vtYaMsEo2k9DKvcq7O28MT5oLJKSA8PIWSqMZY40VejhVR9Ltw6h5qG2aLErqLL uWC2T5jw4W/rkcKsSj6oGwV+NOkgQCUA5SrvDY1NKfUn63jnAKCUsIlDGK/ivjeDtAo6Q8tXa4 V2a94jxCwFuTE9O+0Ha4zCoTNPhlw/e6snRf18FgPY+kAQ6QqnbtqpD5gRqFWhgKBBP7P8l4t9 WIqAl04eg0nuR5YYGnox5JBJAw+d2QGsPmBaDUjQC1Z6RQ8X2EIEtGOiy55DwZOTfGolOe4GTM OTqhtYzcqb302FZonhOpUvTh Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP; 30 Jul 2019 18:22:39 -0700 IronPort-SDR: 6WhK99KFChD4uhKSHGkuZlee3PzPR5qo3CSAAgjGPRSkQu2snl96a05sxvbzaGR5qJ3zsthNzq LhcsNwSlhqBqRVlpk+2KJvZ/e53UiIl2vxpy8pfxv1DlnIOKVI0jtLj1dl6QdJBvU4sn0zcVEt 9R7KfnddbM0lhOd8B4om/rbcORIcoqAtijqMEKuEGESPOrdpQ1ctoHW9rkCpBLojn4EAy9KWGQ 1chiav2O6t788cuwTmsS6g5JwMNBibpKzipWgY3MXmLBpli8xbCNlIxEj/fHaoHNFRKzMT/3V9 kvA= Received: from jedi-01.sdcorp.global.sandisk.com (HELO jedi-01.int.fusionio.com) ([10.11.143.218]) by uls-op-cesaip02.wdc.com with ESMTP; 30 Jul 2019 18:24:37 -0700 From: Atish Patra To: linux-kernel@vger.kernel.org Cc: Atish Patra , Albert Ou , Alexios Zavras , Allison Randal , Anup Patel , Daniel Lezcano , devicetree@vger.kernel.org, Enrico Weigelt , Greg Kroah-Hartman , Johan Hovold , linux-riscv@lists.infradead.org, Mark Rutland , Palmer Dabbelt , Paul Walmsley , Rob Herring , Thomas Gleixner Subject: [PATCH v2 4/5] RISC-V: Export few kernel symbols Date: Tue, 30 Jul 2019 18:24:17 -0700 Message-Id: <20190731012418.24565-5-atish.patra@wdc.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190731012418.24565-1-atish.patra@wdc.com> References: <20190731012418.24565-1-atish.patra@wdc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Export few symbols used by kvm module. Without this, kvm can not be compiled as a module. Signed-off-by: Atish Patra --- arch/riscv/kernel/smp.c | 2 +- arch/riscv/kernel/time.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/riscv/kernel/smp.c b/arch/riscv/kernel/smp.c index 5a9834503a2f..402979f575de 100644 --- a/arch/riscv/kernel/smp.c +++ b/arch/riscv/kernel/smp.c @@ -193,4 +193,4 @@ void smp_send_reschedule(int cpu) { send_ipi_message(cpumask_of(cpu), IPI_RESCHEDULE); } - +EXPORT_SYMBOL_GPL(smp_send_reschedule); diff --git a/arch/riscv/kernel/time.c b/arch/riscv/kernel/time.c index 541a2b885814..9dd1f2e64db1 100644 --- a/arch/riscv/kernel/time.c +++ b/arch/riscv/kernel/time.c @@ -9,6 +9,7 @@ #include unsigned long riscv_timebase; +EXPORT_SYMBOL_GPL(riscv_timebase); void __init time_init(void) { -- 2.21.0