LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] Fix "CONFIG_X86_64_" typo in drivers/kvm/svm.c.
@ 2007-01-25 23:05 Robert P. J. Day
  2007-01-28 13:01 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2007-01-25 23:05 UTC (permalink / raw)
  To: Linux kernel mailing list; +Cc: Andrew Morton


  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?

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;

-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://www.fsdev.dreamhosters.com/wiki/index.php?title=Main_Page
========================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix "CONFIG_X86_64_" typo in drivers/kvm/svm.c.
  2007-01-25 23:05 [PATCH] Fix "CONFIG_X86_64_" typo in drivers/kvm/svm.c Robert P. J. Day
@ 2007-01-28 13:01 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2007-01-28 13:01 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: Linux kernel mailing list, Andrew Morton

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-28 13:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-25 23:05 [PATCH] Fix "CONFIG_X86_64_" typo in drivers/kvm/svm.c Robert P. J. Day
2007-01-28 13:01 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).