Re: [Xen-devel] [PATCH 06/34] x86: fix two unused variable errors when !CONFIG_HVM

2018-08-21 Thread Andrew Cooper
On 21/08/2018 09:09, Roger Pau Monné wrote: > On Fri, Aug 17, 2018 at 04:12:24PM +0100, Wei Liu wrote: >> The one in context_switch is fixed by annotating with __maybe_unused >> because I want to keep prevd around. >> >> The other is fixed by eliminating v. >> >> Signed-off-by: Wei Liu > Reviewed-

Re: [Xen-devel] [PATCH 06/34] x86: fix two unused variable errors when !CONFIG_HVM

2018-08-21 Thread Roger Pau Monné
On Fri, Aug 17, 2018 at 04:12:24PM +0100, Wei Liu wrote: > The one in context_switch is fixed by annotating with __maybe_unused > because I want to keep prevd around. > > The other is fixed by eliminating v. > > Signed-off-by: Wei Liu Reviewed-by: Roger Pau Monné > --- > xen/arch/x86/domain.

[Xen-devel] [PATCH 06/34] x86: fix two unused variable errors when !CONFIG_HVM

2018-08-17 Thread Wei Liu
The one in context_switch is fixed by annotating with __maybe_unused because I want to keep prevd around. The other is fixed by eliminating v. Signed-off-by: Wei Liu --- xen/arch/x86/domain.c | 3 ++- xen/arch/x86/mm/shadow/common.c | 3 +-- 2 files changed, 3 insertions(+), 3 deletio