lkml.org 
[lkml]   [2007]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Fix "CONFIG_X86_64_" typo in drivers/kvm/svm.c.
Robert P. J. Day wrote:
> Fix what looks like an obvious typo in the file drivers/kvm/svm.c.
>
> Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
>
> ---
>
> is this, in fact, a typo?
>
>

It is. Well spotted.

I tested this on my AMD machine, and everything still works.

Acked-by: Avi Kivity <avi@qumranet.com>



> diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c
> index 7397bfb..1764fb6 100644
> --- a/drivers/kvm/svm.c
> +++ b/drivers/kvm/svm.c
> @@ -1149,7 +1149,7 @@ static int svm_set_msr(struct kvm_vcpu *vcpu, unsigned ecx, u64 data)
> case MSR_K6_STAR:
> vcpu->svm->vmcb->save.star = data;
> break;
> -#ifdef CONFIG_X86_64_
> +#ifdef CONFIG_X86_64
> case MSR_LSTAR:
> vcpu->svm->vmcb->save.lstar = data;
> break;
>
>


--
error compiling committee.c: too many arguments to function

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-01-28 14:05    [W:0.779 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site