Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1132855ybe; Thu, 19 Sep 2019 09:06:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqxHRx0u4kMzNTqnvE0xqG0HBZyWv5Keh+KjI30a98X80cXiqWsVOy7ZEsUq1oeaxYpEJbMD X-Received: by 2002:aa7:cb46:: with SMTP id w6mr17628776edt.238.1568909204776; Thu, 19 Sep 2019 09:06:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568909204; cv=none; d=google.com; s=arc-20160816; b=h3XJGjArB2Y7cTVBV4xwGVQ9JqqHoBAPO/CZMAQYdqsHo5BCiimTVfWVSeVJhRFh+P ayyYUwAUHpwP5t62Bxkjfl25Wtg/gQZraK9F1GL+MXIROX1HGTq+CGo/mVxiZl8gU32j 6szZ/o9rO+b5kNk20lbCE5IQLiMHI/pAu9A31Cj/QGkR8MJI3FV0N3ILLcTrbkPMYPp3 zzVNpQZ7+Tj0TyQmAcOOWH6WUcHQ2ttWiXPmPyroiFRtckUh+C3cNV2zrtSzVHG/lAzM vhdQ8JuRzfz8xPNYRY1Phv0kVgMaI9ZFHKOmVcbmm+Wf1CmItCdpgGOWQjfn/KjMWi73 PCOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=/9nzlO3catDpxNdlSs/iGbOfKBBKO21YP3lcrEeeoEQ=; b=sfbnvon25XnNxMWThzo2BpESoAZCt9L1hazj6DJdzp6OYeSuzMrGLgDKDHUo9h8uZE Auof/y/faRkCmnpD3gbOtNaQKSiVdjPgeaGd26I3jiJsdurdx3IqLq89k2Uy0X1pj/Fw OFA6DUzIoYyqBHAeMU1S77taCJld0PZANbGxsKnNmermgGLFEcRdzgtp0YEkV8V3TbY+ C7gHG7rtjeXAhj8JXr3t4lTeuj/V0Bgtm8u5ue/d+l6caUFtjzlgORqWAMkh9vNUcESL 2mkvwj8W9+t57kx/tIROcvFKYj6NP5izMxlzXrg67g1tSzRZtyi5GoxKpUbZrEnYDlUH hIPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=fVAVkCOq; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b15si5948778eda.152.2019.09.19.09.06.07; Thu, 19 Sep 2019 09:06:44 -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=pass header.i=@sifive.com header.s=google header.b=fVAVkCOq; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388649AbfISMji (ORCPT + 99 others); Thu, 19 Sep 2019 08:39:38 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:41494 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388029AbfISMji (ORCPT ); Thu, 19 Sep 2019 08:39:38 -0400 Received: by mail-wr1-f65.google.com with SMTP id h7so2914814wrw.8 for ; Thu, 19 Sep 2019 05:39:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=/9nzlO3catDpxNdlSs/iGbOfKBBKO21YP3lcrEeeoEQ=; b=fVAVkCOq71OXtZ7J4EkZQGbxKZNZc4L2c8WJZFECgaG3XjO3lNrIVHVYVh9IMMO4ZA AEMbIHHCpAmXbRHlDLww47nqyk/M6i4cvDy2bdZBbYNq1s5u4q00FU+zNh0S2Yp1nA4n SvkzakdSSmj8vYi6Ar6il9zvKCLbJwaDHnshr78mjr3P0x17Z3CufbcLB/mZSwXDj5EH /WplZOw3NE8LiOTVDf9UUFR/qqmcmWBsXas8QqUU6xk9S92tLgHQizN88RYDhuMS65aT U2bmsscollEChMPqNqFdZhT/EgQWz1m084k/kjn+s2p5SWl+QjVtuJHXpfpNQYdksxaA DOJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=/9nzlO3catDpxNdlSs/iGbOfKBBKO21YP3lcrEeeoEQ=; b=opSASUzijd7mcxYJT61GGbOWf2lZzd5lVtZhPh7msxGxilo+IYO3VFOeA/j0OVWD3e FLSZWN9lTfXzeADhE0MmMPAZgMLyhsSs35z+TSrajjyybFoSAhsoS0Eb28eEbmNFKVhg oTKVIlgJQqEw8LfUuqLU1pauNa2IMtBK3HYPcJ0w3OtJSw5h3aGmf/RhaqniwVmUSdL4 La/5ArywqatNi1E2ksMrv5j8hUGBrph0A2dNgrcch31jzZY3OXHTMRrkp9GZtvdBK3WR w29n1/YDi8G80f0L+PWsBLWDrtyRkXK1Tv4QqPtGd2dCKuZV+2gG9WUbMWpWV193wvHk bLUg== X-Gm-Message-State: APjAAAVh73XAmjpAAVs/89+GXDdSHT0T7LHC3J0HPSOtj4SK4Th3l5xH 48Km3nZGrX8MZwh4jrTY9fFOsg== X-Received: by 2002:adf:db06:: with SMTP id s6mr4131222wri.41.1568896775939; Thu, 19 Sep 2019 05:39:35 -0700 (PDT) Received: from localhost ([109.190.253.11]) by smtp.gmail.com with ESMTPSA id d193sm8966640wmd.0.2019.09.19.05.39.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Sep 2019 05:39:35 -0700 (PDT) Date: Thu, 19 Sep 2019 05:39:33 -0700 (PDT) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: Anup Patel cc: Palmer Dabbelt , Paolo Bonzini , Radim K , 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" Subject: Re: [PATCH v7 03/21] RISC-V: Export few kernel symbols In-Reply-To: <20190904161245.111924-5-anup.patel@wdc.com> Message-ID: References: <20190904161245.111924-1-anup.patel@wdc.com> <20190904161245.111924-5-anup.patel@wdc.com> User-Agent: Alpine 2.21.9999 (DEB 301 2018-08-15) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 4 Sep 2019, Anup Patel wrote: > 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 Thanks, have updated this patch to apply and to clarify the patch title and have queued the following for v5.4-rc. - Paul From: Atish Patra Date: Wed, 4 Sep 2019 16:14:06 +0000 Subject: [PATCH] RISC-V: Export kernel symbols for kvm 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 [paul.walmsley@sifive.com: updated to apply; clarified short patch description] Signed-off-by: Paul Walmsley --- arch/riscv/kernel/smp.c | 1 + arch/riscv/kernel/time.c | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/riscv/kernel/smp.c b/arch/riscv/kernel/smp.c index d70e3c0ee983..f849a2480600 100644 --- a/arch/riscv/kernel/smp.c +++ b/arch/riscv/kernel/smp.c @@ -210,3 +210,4 @@ void smp_send_reschedule(int cpu) { send_ipi_single(cpu, IPI_RESCHEDULE); } +EXPORT_SYMBOL_GPL(smp_send_reschedule); diff --git a/arch/riscv/kernel/time.c b/arch/riscv/kernel/time.c index 517d2153a933..8a25d1e440ca 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.23.0