Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933733AbcJLP2l (ORCPT ); Wed, 12 Oct 2016 11:28:41 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:24880 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933253AbcJLP2d (ORCPT ); Wed, 12 Oct 2016 11:28:33 -0400 Subject: Re: [PATCH] x86: xen: move cpu_up functions out of ifdef To: Arnd Bergmann References: <20161012152118.3015168-1-arnd@arndb.de> Cc: David Vrabel , Juergen Gross , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Andy Lutomirski , Vitaly Kuznetsov , "Luis R. Rodriguez" , Borislav Petkov , Stefano Stabellini , xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org From: Boris Ostrovsky Message-ID: <17643c71-4794-48fe-7a5e-147e67dc76ff@oracle.com> Date: Wed, 12 Oct 2016 11:29:43 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20161012152118.3015168-1-arnd@arndb.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 606 Lines: 12 On 10/12/2016 11:20 AM, Arnd Bergmann wrote: > Three newly introduced functions are not defined when CONFIG_XEN_PVHVM is > disabled, but are still being used: > > arch/x86/xen/enlighten.c:141:12: warning: ‘xen_cpu_up_prepare’ used but never defined > arch/x86/xen/enlighten.c:142:12: warning: ‘xen_cpu_up_online’ used but never defined > arch/x86/xen/enlighten.c:143:12: warning: ‘xen_cpu_dead’ used but never defined > > Fixes: 4d737042d6c4 ("xen/x86: Convert to hotplug state machine") > Signed-off-by: Arnd Bergmann Reviewed-by: Boris Ostrovsky