[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/2] x86/hygon: do not include asm/hvm/support.h when not used


  • To: Xenia Ragiadakou <burzalodowa@xxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 6 Feb 2023 14:02:18 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=P2rO2sJBZZ6PuZXWDQhs/j0995OZMo+nliHBXPSk+Ks=; b=BTzmVA0dlXA89YrEH40amRc8ta6buWNWY6M/vZps147z1hJANIxGN6U8A2OcM9LwbeAYsyzVtb3sORE/RgLanKFxHdPnFaAMHx3BR5d3arRvBtt71R2tCKNdh0GusM5YzkCfSVHidd3mLXY3+YNbCdNR556tb7Q7bStPhPZMx1QiflW/Jm8AppxYt8vk4OsVwEfCafAaiEpXovdrTrxxXGWWuB00e183gtA6+GXpIzMKnn4Rl0Vx7N2cnxL3ODu6d+ihlWSyZ//WpvZXO5SfGWtWqo2xDG0RSA8me24RLegd5AEyA16hrygpDIurEUjYZmJYYiTTMQINjWT6T786/w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Qu6ZSQsBEKp+EiIjdo9Mnl/MhAbKJjGeYu7MLb6Rx7hUmY+9aC0bhoHPByczr4CWio4Ek7pOG7qjdM2mDjmHtTolP+2e9uZSaeLJCS7+0KmkL5m77uOZPWyI9/QKxIk2SpLEht3B2GCgGq+8vQUnaGgcgP86GAsSTsW/oOGYigmfaIw1KQp87NMkDM9kMgmiEL8fyUc3QV6JhbtvCQ5Y6mK1ifAJbt4Lk4VECGu7UqPZlffYj6KJwHdn2y7VuRtflpxk5TCVTf0XSMUKULkgojIW4WDg7klRPyTwGqrSTCv3DgcRE9tgZOcupXW0I2K+Fy/ew8l1MxgArk7UDznc9Q==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 06 Feb 2023 13:02:32 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 06.02.2023 13:42, Xenia Ragiadakou wrote:
> Since none of the declarations and macro definitions in asm/hvm/support.h is
> referred in x86/cpu/hygon.c, remove the unnecessary include.
> 
> To resolve the subsequent build error for implicit declaration of wrmsrl()
> and rdmsrl() triggered in asm/spec_ctrl.h, replace asm/msr-index.h with
> asm/msr.h in asm/spec_ctrl.h's included headers.
> 
> No functional change intended.
> 
> Signed-off-by: Xenia Ragiadakou <burzalodowa@xxxxxxxxx>

Acked-by: Jan Beulich <jbeulich@xxxxxxxx>





 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.