From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C85AC433EF for ; Thu, 28 Oct 2021 15:46:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EA62660F56 for ; Thu, 28 Oct 2021 15:46:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230356AbhJ1PtY (ORCPT ); Thu, 28 Oct 2021 11:49:24 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:47439 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230342AbhJ1PtX (ORCPT ); Thu, 28 Oct 2021 11:49:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635436016; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=obCmui4vnMUyM7HQtaAcXmZxPibk1HYyiXAnVNUGQKc=; b=SsDFyaBwEeo7YjlqIp6GxPjOAe2gjSo2l1R143R1ReX+YThXUDFqKqOP25BIvjwf5Hj591 lH2RgA9f+Y9dVLubFCpju7i86OapTOIo00cC1evpkRLenElnWeKL1YZt3Tuj3MBTfPSj1J Ilfwi//1ApttfPcjAROehY73wvudoF8= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-221-hy5uXOzjN8-gv58XgUhzLQ-1; Thu, 28 Oct 2021 11:46:55 -0400 X-MC-Unique: hy5uXOzjN8-gv58XgUhzLQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 81E3C8030A0; Thu, 28 Oct 2021 15:46:47 +0000 (UTC) Received: from starship (unknown [10.40.194.243]) by smtp.corp.redhat.com (Postfix) with ESMTP id 88D7257CAA; Thu, 28 Oct 2021 15:46:04 +0000 (UTC) Message-ID: <3de5e09ed40b96bcea1267c0e55bcbe552a91d85.camel@redhat.com> Subject: Re: [PATCH v2 33/43] KVM: x86: Unexport LAPIC's switch_to_{hv,sw}_timer() helpers From: Maxim Levitsky To: Sean Christopherson , Marc Zyngier , Huacai Chen , Aleksandar Markovic , Paul Mackerras , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Christian Borntraeger , Janosch Frank , Paolo Bonzini Cc: James Morse , Alexandru Elisei , Suzuki K Poulose , Atish Patra , David Hildenbrand , Cornelia Huck , Claudio Imbrenda , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-mips@vger.kernel.org, kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, David Matlack , Oliver Upton , Jing Zhang Date: Thu, 28 Oct 2021 18:45:49 +0300 In-Reply-To: <20211009021236.4122790-34-seanjc@google.com> References: <20211009021236.4122790-1-seanjc@google.com> <20211009021236.4122790-34-seanjc@google.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-2.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org On Fri, 2021-10-08 at 19:12 -0700, Sean Christopherson wrote: > Unexport switch_to_{hv,sw}_timer() now that common x86 handles the > transitions. > > No functional change intended. > > Signed-off-by: Sean Christopherson > --- > arch/x86/kvm/lapic.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c > index 0cd7ed21b205..cfb64bd4a1c1 100644 > --- a/arch/x86/kvm/lapic.c > +++ b/arch/x86/kvm/lapic.c > @@ -1948,7 +1948,6 @@ void kvm_lapic_switch_to_hv_timer(struct kvm_vcpu *vcpu) > { > restart_apic_timer(vcpu->arch.apic); > } > -EXPORT_SYMBOL_GPL(kvm_lapic_switch_to_hv_timer); > > void kvm_lapic_switch_to_sw_timer(struct kvm_vcpu *vcpu) > { > @@ -1960,7 +1959,6 @@ void kvm_lapic_switch_to_sw_timer(struct kvm_vcpu *vcpu) > start_sw_timer(apic); > preempt_enable(); > } > -EXPORT_SYMBOL_GPL(kvm_lapic_switch_to_sw_timer); > > void kvm_lapic_restart_hv_timer(struct kvm_vcpu *vcpu) > { Reviewed-by: Maxim Levitsky Best regards, Maxim Levitsky