public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@argo.co.il>
To: "Robert P. J. Day" <rpjday@mindspring.com>
Cc: Linux kernel mailing list <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH] Fix "CONFIG_X86_64_" typo in drivers/kvm/svm.c.
Date: Sun, 28 Jan 2007 15:01:12 +0200	[thread overview]
Message-ID: <45BC9E98.9090103@argo.co.il> (raw)
In-Reply-To: <Pine.LNX.4.64.0701251803570.14801@CPE00045a9c397f-CM001225dbafb6>

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


      reply	other threads:[~2007-01-28 13:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45BC9E98.9090103@argo.co.il \
    --to=avi@argo.co.il \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rpjday@mindspring.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox