Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6636110ybi; Wed, 31 Jul 2019 18:26:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqxXEgQ+uFThmfYF7PuoSgmDUUQIVN7/6f1c6POj0IxS8wHMsZbonQVrOWfNLHRRJzD6XT74 X-Received: by 2002:a17:902:7202:: with SMTP id ba2mr125231853plb.266.1564622780847; Wed, 31 Jul 2019 18:26:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564622780; cv=none; d=google.com; s=arc-20160816; b=Y/390Enu94SrSuhfiSXDHM5D/88H3P8nYZCYBXy+mZHKghFOEFFiNTEANaJ5Dvwxeo 3zWy0Cs4cLz+tqEI8LIwPCqvbP7Kzd+rtJWOe/p7scr6E/HC/mKzShaFkeEpc91yGbLK 7nAFfe4L8v3nYwKM80uN/THTxbuc9eu2CWKZhjITkx6Zu7OoCdEOUIIDLstT2fCNktZs vCY5TqXoA8VvrrtO2lL7m6ps0LZ0qErsPi6W6WRxHk0bv7QhWSqQ5OONuL0QrhG/ew3e n0rtLGeG5lURk4LZfdVf1sA9Zv4D3tiw5RxMXoWXn+TmGhNY560e0TxelkWEOOhK8AYi OgUA== 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=v391A651fl9gH6ZIUBLyc8VVtVq2rkC0vJREjmIeURSE5Ph5SeZyjvJYAJ2KXvcYb7 Ccnrn6nxwTm2uh9duitVX3O4alihkVViwC+ocD1Lcmel0xpMFPtgkEijdBRhptmLivOk /YecieWX6OFgcFm2I1OcKKxE52ul98yOi+l5RO/lSNbVG4p5U0eN4Wi/GCnwv3E5QbQv UPQ2SClvfI0hrVi5YUvmXO8iXnLCRIDaqOIybAGycjqyTWvuuXus/IFsEXq9wjPN3hZi 9HF0rSUJCjR8ID3UeAiJSJjab46gE5QQqSLQZ4Reo9Gj0rTXfe+pSr8BqMXiseh1Yf+y 0D3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=KsSwN8uG; 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 p123si3194206pga.12.2019.07.31.18.26.04; Wed, 31 Jul 2019 18:26:20 -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=KsSwN8uG; 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 S1729208AbfHAA64 (ORCPT + 99 others); Wed, 31 Jul 2019 20:58:56 -0400 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:61763 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728242AbfHAA6k (ORCPT ); Wed, 31 Jul 2019 20:58:40 -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=1564621120; x=1596157120; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=EgHMt/UGrlopQ8ONP3bfsGEh2iUNdhTT7QH850cl4Xs=; b=KsSwN8uGWskg1VV3VYwKjxblxk6c6f/wP7uhDtcaDeqxCrbRp9bS1NZa wHapu66M7Sn29oxquSM+w3Fe+6Pb7mt21P27TElpAMV4C57srGDKYZNy5 ZgjQFL/eWJSjyuTN91LakoKSJx3R1/pAVA1cuyV8ulZakVEBz2hdbdn31 cJj9HkOoQ5LPjcZUfAbikYTIQJ1yzgaQL9oNlgcnClnaT53YFOub+TBwO zX4BPN8YIK0mFpLZuNZ2veRjSOUNIQDO6ZsJKtmL3G/Bxwvlzncw3NaTU xNEcDR0VvaF7Df9xxlW6Ym5KZbteF3a/En9cUA+MpSMAp5Po4VPqv6mpY w==; IronPort-SDR: JrD0MhVqz+XXcTuf9B6Wb3Ic0pEZKQnHRIy3sTxea5fsxNGacykjk+Dlu+W9ST9gimboDXFYbQ XrKB4f3ZywUouPYCLj1iLQqmbk9zwkYiqhRibNfzAROnhTrsd6TtjsNZwLLDH35wj9LDUP01TX HHCdCSnxq6mEMLBC86i2E5vRE8ahl7FmzZdlrCDPbhpmfv/84005nan4Uo+bNNRnXI+IsKxNfZ R/gmpa/ax7B8rTsap3hfd56lgNKPByUGJYxObT6X2ohC7HXv+hsQo4C+Hsct+/o83triXJY6ry vC8= X-IronPort-AV: E=Sophos;i="5.64,332,1559491200"; d="scan'208";a="116247217" Received: from h199-255-45-15.hgst.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 01 Aug 2019 08:58:40 +0800 IronPort-SDR: hH5S7eDwyiSjwJ79G2KyY9K7ew7eYf5yP9aAwYCmteAfnkTaNfMb6M6PI14/tBYxYC1Bxau8hV qcLB51zH5u2hLQ7bCstuDQMb72VavKIANbRZpD0R0B001UfTDKNwG/TwZcvDelcw56hV8IRFxg ItS+QSXXJlFZcbx6H38nHn1xh8uV/laZd3rOM8tHMVpKlCfa85WvO23o6ogfT+gVs1NCCC886J 52/vVsZdTEcSyBRiz4Ri6tJg25BjOw/se2eoerLHv72Wx7Rna9Zc7rmjIiGD0c6R6e7xYuIJvg M37Qk9OVBp69hmqw0qlfz+7i Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jul 2019 17:56:39 -0700 IronPort-SDR: vB0wWq2g5VV0TXjRYxActlFjCpILQXjTEq4ugNlJDp2TqO/ZK2OOY0Dlhb009q/s7ft8HAdxBu IhKw36nvIfY7stv34BJEtkttLD3H8bBhk3ZMUti3CMRVJgkX5Uups95qBb9dvX9InN9jqPFnon tGcyUmGj3MZoYpfhq+g+GowPPHTq1b2YGxZveEKK0VM4OIAPCV2KViQcHw7ZBpZ+C2uvI+QxOf phjgQoFz4bRa8s+eRujUlM2H32JPZC8Nk8g39aZbYOaOUE9k+/5suzpdl++3i0UUfc2p7FJnfF ZME= Received: from jedi-01.sdcorp.global.sandisk.com (HELO jedi-01.int.fusionio.com) ([10.11.143.218]) by uls-op-cesaip01.wdc.com with ESMTP; 31 Jul 2019 17:58:39 -0700 From: Atish Patra To: linux-kernel@vger.kernel.org Cc: Atish Patra , Albert Ou , Allison Randal , Anup Patel , Daniel Lezcano , devicetree@vger.kernel.org, Enrico Weigelt , Gary Guo , Greg Kroah-Hartman , Johan Hovold , linux-riscv@lists.infradead.org, Mark Rutland , Palmer Dabbelt , Paul Walmsley , Rob Herring , Thomas Gleixner , Yangtao Li Subject: [PATCH v3 4/5] RISC-V: Export few kernel symbols Date: Wed, 31 Jul 2019 17:58:42 -0700 Message-Id: <20190801005843.10343-5-atish.patra@wdc.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190801005843.10343-1-atish.patra@wdc.com> References: <20190801005843.10343-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