From patchwork Thu Apr 4 14:13:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 10885677 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 848FC1708 for ; Thu, 4 Apr 2019 14:17:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6E57628985 for ; Thu, 4 Apr 2019 14:17:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6057F28A32; Thu, 4 Apr 2019 14:17:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 152DD28985 for ; Thu, 4 Apr 2019 14:17:49 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hC39R-00036T-VA; Thu, 04 Apr 2019 14:15:33 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hC39Q-00036M-Ur for xen-devel@lists.xenproject.org; Thu, 04 Apr 2019 14:15:32 +0000 X-Inumbo-ID: 19848c3c-56e4-11e9-b5f3-4384ef67c94c Received: from SMTP03.CITRIX.COM (unknown [162.221.156.55]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 19848c3c-56e4-11e9-b5f3-4384ef67c94c; Thu, 04 Apr 2019 14:15:30 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.60,308,1549929600"; d="scan'208";a="82749067" From: Wei Liu To: Date: Thu, 4 Apr 2019 15:13:36 +0100 Message-ID: <20190404141336.2276-1-wei.liu2@citrix.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Xen-devel] [PATCH] xen: vcpu_migrate_start can be static X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: George Dunlap , Wei Liu , Dario Faggioli Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP It's not used outside of schedule.c. Signed-off-by: Wei Liu Acked-by: George Dunlap --- xen/common/schedule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/schedule.c b/xen/common/schedule.c index 26298c09fc..39b87a7682 100644 --- a/xen/common/schedule.c +++ b/xen/common/schedule.c @@ -587,7 +587,7 @@ static void vcpu_move_locked(struct vcpu *v, unsigned int new_cpu) * return if it can't (because v is still running); in that case * vcpu_migrate_finish() will be called by context_saved(). */ -void vcpu_migrate_start(struct vcpu *v) +static void vcpu_migrate_start(struct vcpu *v) { set_bit(_VPF_migrating, &v->pause_flags); vcpu_sleep_nosync_locked(v);