Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2334217ybl; Thu, 29 Aug 2019 06:57:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqzXV4W59UnZ8SLuAeK3VbqBU5Y+wg9Fx9eXOK8OWUfRs4HXgb2ZWboY74HaZoi2CuMqw9py X-Received: by 2002:a63:4a51:: with SMTP id j17mr8418051pgl.284.1567087025105; Thu, 29 Aug 2019 06:57:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1567087025; cv=pass; d=google.com; s=arc-20160816; b=HhW9D3yWw0NbOGrrxWmbB/ozNxxZ+E+WTpM0M/g0Apr5Xl+vwGzRbGmYxiZkMEmfL6 qsr4rZ9spfehcuDnx7iwZP+R2uNNJ/t+p35alaHMtNpsUrstG65/nSHWSo0ArXHUAk2V 5NS3Sj8Jrfb24DYPZ/6EjvhomvGroL/0VWcGMlzWQFiVuvZIAC2QVRV9rhsT+GiwiXSd CgKVbuKKU47roW8SnqhloiKddJAadVKgW4PbDePzPiOjHZTrHRELFyrP5GQ2ALdx7Vi0 1sGWJzUo9XdhSGTtfKGAF9cTgYNXdBPRRMRCwHS6cVoU6yoWlFON31dZwqCZ3wBfEizz 5sww== 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=Cjltso2zNChAl9C5/8UNKXt/7otPRgBSCLrxYPpV8mqVX6u7JOKuDQ8lPAYEtjX2/x 7I9NqaYoeG8hCos4H5S32RM3+SevtomvQyKkd4tXbf75Nra9jxY2o7PDR7HIiWXxGi5j CAn67JHHWHOCpfwkW/c2/KAYzzkT/yvk2ZFbx7OMVHhq/ybwrCjyK5J1tbpRQ9RMcTr9 J1lL8igd6oyBj75Wts8/TgA4zbCtnTeAKMWMEPTiXPO1xrUlmfcbXNuE39U2gMomPaQ8 BS0bjRadSRloCNR3y432t9xobmHO6uSpm7dsZnCX/HmwJxWS9TBCS2B3fUw2K51D1YUH ONHw== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=IbO8cuI1; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=LR2wwQT7; 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 w7si2030602ply.279.2019.08.29.06.56.46; Thu, 29 Aug 2019 06:57:05 -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=IbO8cuI1; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=LR2wwQT7; 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 S1727926AbfH2Nzi (ORCPT + 99 others); Thu, 29 Aug 2019 09:55:38 -0400 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:25367 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727891AbfH2Nzg (ORCPT ); Thu, 29 Aug 2019 09:55:36 -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=1567086937; x=1598622937; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=X9hkofyoP2OZily7lf39BRn9zHH+YrLfiRwafePdYaE=; b=IbO8cuI1M3z67H4uhvvLXoyIEmCN6S9EXB+68eE3ALz/ZwDgYJ1PIJr1 836sQSQXYip4XFbbIZlm2C/ye827i/VaAAEvuYBnPWVmMSUYhQ5ns7e+5 hnA3R/338Ri5sur1oNqcuEHYs1h1hWDNToT+kv/1V2X/g8KyamEwKTrky IsYG8f9gLEs8V1nI/Xh9VR2FFPmve1WZ/EOZfhsnebkUgDlgnxDfWYG5L GYddsTDprCidk6B06IwEjZSkuBxXsPAe+hrdfchVPcS71c2C/GIgGYv88 HzggUz4mgHWXI2VJ2G3G9tx8DP6BZGS60hxR9fp4w+1kDJLxNZ7PFFqpF Q==; IronPort-SDR: LR90dryqJhU4wQXZ0U9MAh3ad5zCYI8iGEuXuOYYjAIY5lK/KFw6eP/iuRHAOGTLNOKVW4nSjb tELuWKuck1a9uK9jdJ/UZAyzkMhPks3BKqBJiSDJH0HuxcwbE0XsOOQd0fjZq1P+wX3KCmKgvm xMzT1PNs3WAN/T2VKuZ5I3lP8I1Fx30x4Jd9ys+rjaf5JqDKRKhupPj4jO9qgIzfwrcGbLBPth Glv+GzI5tQ2TtyU37qoo3epD7GUBJYKGV5OOnHcsmqq8ZdphVgCtdbQSKe+7895/21Orw9lw4Z Y88= X-IronPort-AV: E=Sophos;i="5.64,443,1559491200"; d="scan'208";a="121525657" Received: from mail-by2nam05lp2053.outbound.protection.outlook.com (HELO NAM05-BY2-obe.outbound.protection.outlook.com) ([104.47.50.53]) by ob1.hgst.iphmx.com with ESMTP; 29 Aug 2019 21:55:35 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AjEU2FMgZbQLeeSvML1VzEOpBxHD6e2QirwKbYEgjh3NPFxxe7aLYYluMskhEdSkbnVhm7kZqXeRHLPGYXZs1zGxkmu1evYYDh9uSUikfeUYPv45PSHf3sVZ3YGU7A/zjkAhk8h53dYIKGQascAz2f7hFwKj+7x8Qfp1C38bfM005ZA0YcRhmH87m8gLnYRbecWFpXakpRp7IjTNngOdFb+pEToOa5Snjc44o+gEWCLdxSGs7PwW8nOiOuzoC4CKVwihPOmRmNaGEHqccqGm3DZbYIXBKt0J6r+tALvkpSJ99iosUQKGby+qI42+V4lf8EnJx6CCXSp/dmyrP9xdWQ== 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=d7qKQTeeJSUJ8nH8UUmmZXgQpCgOfsGP+qLvv9IptinsNOZIFPIpmWIlbdA+TVbvRTdod2c/M+SIVZvGyEW6oj0hcXKuUfp1vVGNy3H95dxl5j08yMpEadhx+CyiiF1Mnpw2rv/F9x9faf7460sXpMt+liYrFus541E8+RZsxdx5SNXBu08JxXF9N5ab3aZOQLJZR6iNMRiCH3Eeyqu0u5stOJ5QLav5Fr2/jPJi71kZsdjAuIHGFl/svOTt4UKS32mT8QeaYrPcWIqbJhcBStwywC0YZefLqoEN2m4BaMQmpC9JcGsLYMIT9V7Ce84FjYBdSVFDJQb5/2NEo9Yfog== 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=LR2wwQT7ImYWosrSyVR507yeyRkJONW6G4IIqerILOyTiwj5JHK7pwjMCGs6qIetc84mx/wU0xS1xjBQwE5eO56VP71pNvICtoImJpEST78W0/4OKhr9RhmJwGsJ8YVF8OHZd2F+pJGQ8PgjIpXm7oaRIOU3fatQzL/tlyenVSE= Received: from MN2PR04MB6061.namprd04.prod.outlook.com (20.178.246.15) by MN2PR04MB5616.namprd04.prod.outlook.com (20.179.22.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.21; Thu, 29 Aug 2019 13:55:33 +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.013; Thu, 29 Aug 2019 13:55:33 +0000 From: Anup Patel To: Palmer Dabbelt , Paul Walmsley , Paolo Bonzini , Radim K CC: Daniel Lezcano , Thomas Gleixner , 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 v6 03/21] RISC-V: Export few kernel symbols Thread-Topic: [PATCH v6 03/21] RISC-V: Export few kernel symbols Thread-Index: AQHVXnFtNd+3UNf7t0eglNd78zF+iA== Date: Thu, 29 Aug 2019 13:55:33 +0000 Message-ID: <20190829135427.47808-4-anup.patel@wdc.com> References: <20190829135427.47808-1-anup.patel@wdc.com> In-Reply-To: <20190829135427.47808-1-anup.patel@wdc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MAXPR0101CA0072.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:e::34) 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.51.114] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f55daba2-8e03-4d12-363e-08d72c888f83 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:MN2PR04MB5616; x-ms-traffictypediagnostic: MN2PR04MB5616: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: wdcipoutbound: EOP-TRUE x-ms-oob-tlc-oobclassifiers: OLM:510; x-forefront-prvs: 0144B30E41 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(39860400002)(136003)(366004)(376002)(346002)(396003)(189003)(199004)(7416002)(52116002)(81166006)(316002)(6506007)(386003)(25786009)(7736002)(81156014)(305945005)(2906002)(36756003)(4744005)(71190400001)(14454004)(99286004)(1076003)(256004)(14444005)(4326008)(66946007)(76176011)(66446008)(64756008)(66556008)(66476007)(102836004)(6116002)(50226002)(55236004)(476003)(6512007)(3846002)(71200400001)(5660300002)(26005)(186003)(44832011)(86362001)(66066001)(6436002)(446003)(8936002)(6486002)(110136005)(54906003)(2616005)(486006)(53936002)(11346002)(478600001)(8676002);DIR:OUT;SFP:1102;SCL:1;SRVR:MN2PR04MB5616;H:MN2PR04MB6061.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: TiWg0ATs9Jl5mjrMkNLICEWoJKBohey+GiJ03hWIaT4vHxUZjueN8oxiyUrpb1XiMWKFY+00Diuo1HlSgruC2mBHJh5k4NeCAIcp5OnAmPpz7exFk/ulEw8WpXCqc4LN8eUISD6FFXt2DnoW+NPUyKAAQO1sGOjD34npCQULggqK3qbCKJ68FpebmS8VsgF7x7IMRcgY+hFjQR01j1MeaZ3gBKOfaRN4MibXjkKqx9MIfvPveoT1RD6ykvoEO7qVVGRGA26tG92l2MnfHtryenWCXxei77QMmCAIuNcT9y77LN31JzeJ2uh68LyaV7OFLOsQqxXtDrAiXCKBkZkemkKVwe4c6PLBmbwHzlSLOZ81VorXib6lDVzWbMva9XuSas7Mkl72Ba86TvcxBARrdSGE6/h6WkA2zi+ZY6/CiFg= 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: f55daba2-8e03-4d12-363e-08d72c888f83 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Aug 2019 13:55:33.5117 (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: 2nWefPNw5fSF+8xN1hThLQiHiuS4BWRz1Y6aRcIHNh5pWeS3gwU6zVhI5qck0qKmO3FPq/D/xxibtYVQ3zgiZw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR04MB5616 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