Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp894199ybe; Wed, 4 Sep 2019 09:16:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqziDT7AwIqQBAbI1mdj3a5HmgGvHBiLAYCIvZzrP8DxNSDSLwTbh39+w2bN3BU/cR7+dHdr X-Received: by 2002:a17:902:728a:: with SMTP id d10mr19774587pll.309.1567613791112; Wed, 04 Sep 2019 09:16:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1567613791; cv=pass; d=google.com; s=arc-20160816; b=GhG3G8fikfzJ2LbDZUMnXKKLRSYyRoOkyx8ywJNAh0+ZBlPXS5Uv31TYLY74NNcSFx rNsfiqya3d9sR5e80N544afVJK3lgsJiaUbD0q2ZWG0IvAUTuKEYxbcq8y9JT6OF+BNx 6Cj89VQjq6ZFeAyTiNaVWrz/uePCMTNDPC9pv7xqubAOuiedgGcRLPX+uTW5HIl8057s nxMDXl7aTJ1Zwmu0xMzLTvtJVfg4hT+HNBnSKhLNHWH0T/nozObM3X2hjlm/wjOxftEP e7DePvu8Fr8GaMMkOnsHD2EYwuj2bYqTfZWXZGw9WvYNqVRKJjMdVlELpjlWX0M7hBq8 XVZg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :wdcipoutbound:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature:ironport-sdr:dkim-signature; bh=BmFd30wxWYwm0fcXiaDqdfEaAcsVFZewx7xCBZ1Std4=; b=fu0jLAZ0i29wG4q8paKJ8TO3meMCs4NSNanDkoKhVr9bYAvO1vdz9MqFb9vdpqGj3w S76GKgd/UlffMl/conEFaYY6ClhNVC9NelZ7c9x33QlJzK4yaz+OxTKrux8rpQuPxCet HHrP/De0EJzQWqeuA8/nxn4ne/0OMGSDFcNUQXZL+U6PC2bIuD5urgIb+ehzPTNkCTu3 jOXBV8bEpHhOt6hOHo4eH3M6IvGxMPFD5w80ZsufPDhhpPZJuYbRYV3hkvzpSDbK2wUq dT0IlexbZOSNtiUoaUmEW19t55i2BxK/xyMCYuubjQ36yaW2wTFXeo2a3FvhhGzHUVIA bdUw== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b="Yq4T/ZmQ"; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=sYYuMI+v; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); 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 f4si4708711plf.319.2019.09.04.09.16.14; Wed, 04 Sep 2019 09:16:31 -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="Yq4T/ZmQ"; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=sYYuMI+v; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); 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 S2387435AbfIDQON (ORCPT + 99 others); Wed, 4 Sep 2019 12:14:13 -0400 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:2511 "EHLO esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732881AbfIDQOL (ORCPT ); Wed, 4 Sep 2019 12:14:11 -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=1567613651; x=1599149651; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=X9hkofyoP2OZily7lf39BRn9zHH+YrLfiRwafePdYaE=; b=Yq4T/ZmQywohw7DB9dcscF3Ki+wJF2WEghsfEWvOWCLuGWDpSZpvlJwm MAcavy+IMjyvAFcHy8MENL8P+r1FKePxDYGsptSsieQN7og9ZzclkZBeq yqulhUkcHb+b8PzfgXzcNG38sDz9rHEEPU0WDeuCztmYMd1tqZYV6tg0R xj6axV/WIoois9romD8DxR+6AGRs6HhJgliAW/qExQYt7gD0W1GbFHzQw 98I/TcPs/FW9dDUbHrYiSUXGzNt4QedQiJVBDqs8eStnDvMWPrV5HSBwY 0R/oHrAvdE7crjyn1rCQCoaB2WPbiW1VfWq3mxJEqijG5BLvmtQ8WX1To w==; IronPort-SDR: xFrvMRfqCYfpy71xqgeYeihRNQ1mtJRaWLELtN8WB/s5noZQPoF7R+ni+s+ODPSyDb0XDAV1Jo U4Skc4l78xpcnSSwA3y4aL6Yp5KboFEOpcoCK7OPCnK9qKaIUkrZTZGS6FoxZmJCq70iybkdIN RNkLH6lMkoWKvQ1vSsUyNCV0weNgtFAzRhylfIG7RsMBQ3jsVncqigLuVZqaOjmx2TygqFtBRC lM7/Z4JoN1BRuwJnihGR66V1sLU0z7z7ocU5+RPEYBdo+eDX60DVJgCGOzftvp/bxcyJgf2Rix EvQ= X-IronPort-AV: E=Sophos;i="5.64,467,1559491200"; d="scan'208";a="118323808" Received: from mail-sn1nam01lp2051.outbound.protection.outlook.com (HELO NAM01-SN1-obe.outbound.protection.outlook.com) ([104.47.32.51]) by ob1.hgst.iphmx.com with ESMTP; 05 Sep 2019 00:14:09 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lkP/n6XSGROBDG7xkuBWFBWMvWeRLdlpkG3CW32c5lSPBDqFY1KcpOs0UaH2GLCDCyR3tCJF3/JQ3jFrwTvCNEoPC2rk9fdwhWDWpPSdA0hfAxPCu9rc5650TwTz64miQGwG3HWPZi+gxOhtaQmLeqqktGY78jyQqyGnZsfXLeG74SgoOrt1pd/tdw7CPthQIGQUm+JuTu8AsyrsHxMu49K8iXUFR+Vy6gS76Y7j5djW/g4NGND/+IO+Y52xu0df3pp/FTzSShssR4n1JGArAvCJRWXKhDHhNkHepS2dw+RnOOOmLMUuZhN4osHUAGYUqFaIOTbFZmaCWP/hvVGZyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BmFd30wxWYwm0fcXiaDqdfEaAcsVFZewx7xCBZ1Std4=; b=XLVs0SYza/16AYTOHl1JVJalnjroGwCVvTMqEA5Ws7qQCy9BUziWkLq91di5V+JGHlZ2GLc3JLSf37lJdVBIGQQt8lVAlcCwWLGGUuVo6SCEy04369sVWLYL1LIbhSpa+kghPrzlLI1N3P73nDBDt4BMR3zsrhD/Gh7tKxWDPVBFWlUKT2Tzevuxouvc6hxmgl4iE1kHkcvXtrMvG1KSxTwFQRjZZ4PFe8CmpOL4LOHxytr8iCDI01b3wuEsrY4OeYlKYcOmZgnso9WVb2IgYDNvrprnLS22GwWe+iZC5qZIEijsYhGpbrUYKWmRsIKzIW7101X8ntivMC4JTZf7Mg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wdc.com; dmarc=pass action=none header.from=wdc.com; dkim=pass header.d=wdc.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector2-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BmFd30wxWYwm0fcXiaDqdfEaAcsVFZewx7xCBZ1Std4=; b=sYYuMI+vwNGR1lIgG4iEe91H24Iuut1sxg9h9UUd7xZGM11Un3/0AZ0GXiPzftvADs/Wy8GlgK/zxmfPyWkCxWPiGmyGDfDZrbnYDTH419w+bT+2qcPhjlE++ZlfIqqz0P8WZbF3KXnsgOWm92TLGEYkN45Mik2luOa8IJcD5sQ= Received: from MN2PR04MB6061.namprd04.prod.outlook.com (20.178.246.15) by MN2PR04MB5504.namprd04.prod.outlook.com (20.178.247.210) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2178.16; Wed, 4 Sep 2019 16:14:07 +0000 Received: from MN2PR04MB6061.namprd04.prod.outlook.com ([fe80::e1a5:8de2:c3b1:3fb0]) by MN2PR04MB6061.namprd04.prod.outlook.com ([fe80::e1a5:8de2:c3b1:3fb0%7]) with mapi id 15.20.2220.022; Wed, 4 Sep 2019 16:14:07 +0000 From: Anup Patel To: Palmer Dabbelt , Paul Walmsley , Paolo Bonzini , Radim K CC: Daniel Lezcano , Thomas Gleixner , Alexander Graf , Atish Patra , Alistair Francis , Damien Le Moal , Christoph Hellwig , Anup Patel , "kvm@vger.kernel.org" , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Anup Patel Subject: [PATCH v7 03/21] RISC-V: Export few kernel symbols Thread-Topic: [PATCH v7 03/21] RISC-V: Export few kernel symbols Thread-Index: AQHVYzvG318mjS9q1kmSmXA7VQ4Ybg== Date: Wed, 4 Sep 2019 16:14:06 +0000 Message-ID: <20190904161245.111924-5-anup.patel@wdc.com> References: <20190904161245.111924-1-anup.patel@wdc.com> In-Reply-To: <20190904161245.111924-1-anup.patel@wdc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MA1PR01CA0084.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00::24) To MN2PR04MB6061.namprd04.prod.outlook.com (2603:10b6:208:d8::15) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Anup.Patel@wdc.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [49.207.53.222] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9a25a020-8064-4f44-0847-08d73152e91b x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:MN2PR04MB5504; x-ms-traffictypediagnostic: MN2PR04MB5504: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: wdcipoutbound: EOP-TRUE x-ms-oob-tlc-oobclassifiers: OLM:510; x-forefront-prvs: 0150F3F97D x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(376002)(136003)(396003)(346002)(366004)(39860400002)(199004)(189003)(66556008)(66446008)(7416002)(7736002)(8676002)(478600001)(25786009)(386003)(66946007)(99286004)(256004)(14444005)(50226002)(14454004)(66476007)(64756008)(6506007)(6512007)(102836004)(6436002)(8936002)(54906003)(6116002)(3846002)(486006)(26005)(55236004)(86362001)(1076003)(53936002)(476003)(316002)(71200400001)(71190400001)(81156014)(76176011)(52116002)(305945005)(5660300002)(6486002)(36756003)(186003)(11346002)(2616005)(66066001)(44832011)(4744005)(4326008)(2906002)(446003)(81166006)(110136005);DIR:OUT;SFP:1102;SCL:1;SRVR:MN2PR04MB5504;H:MN2PR04MB6061.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: e4yymypeLM7Qk8hOgzobkGAoRStZv9QJDY/7rGGCg6ZYwfvTItVE06ktMl0iS3znB8GUKsjaD5eDt+8/ep87516ywg0DEMD2auP54iLCXejXVlJDdczyKB0Q+wL6Hn1uHwkGydHUCb2l47FN0dIaopZZK63ukd6aiB+fWOL8BRWp7QI9Wu1ZIjSt0PdDrjdlnqJDudJ0uavwk7NpacPEoJd/3+hpxRwLbpMzu7vgD6qTiWR3cOeRfccBiGWP2fmQUqaIkXTFtf8us2bP1qYwmxYmS0ZF5t6loVWWMnQ0ZNmJmJgeGyMD3lEoFppfE7nHT48Q+nnX1U46Xr4BKWLnCmIwt4+WRQvFlQE4o5/MykUCwMmGSJ2wBNTZ1d2LhqFEoRFW02lbEGIrySUvnk91vMjy3BXhp5b0rWsp+oPl8xE= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9a25a020-8064-4f44-0847-08d73152e91b X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Sep 2019 16:14:06.8324 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 3T6TVZF5nshrwhu+r4okoiMz9NGQgZtCsTt6i/XHuxdUYF0J5G2P5puIbejPGEHJ4JHyMYkho85xo+u7UIB+jw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR04MB5504 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Atish Patra Export few symbols used by kvm module. Without this, kvm cannot be compiled as a module. Signed-off-by: Atish Patra Signed-off-by: Anup Patel Acked-by: Paolo Bonzini Reviewed-by: Paolo Bonzini Reviewed-by: Alexander Graf --- 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 =20 unsigned long riscv_timebase; +EXPORT_SYMBOL_GPL(riscv_timebase); =20 void __init time_init(void) { --=20 2.17.1