public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Jan Beulich <jbeulich@novell.com>
Cc: mingo@elte.hu, tglx@linutronix.de, linux-kernel@vger.kernel.org,
	hpa@zytor.com
Subject: Re: [PATCH] x86-64: fix HYPERVISOR_update_descriptor()
Date: Tue, 16 Dec 2008 09:55:08 -0800	[thread overview]
Message-ID: <4947EB7C.9080006@goop.org> (raw)
In-Reply-To: <4947A108.76E4.0078.0@novell.com>

Jan Beulich wrote:
> Signed-off-by: Jan Beulich <jbeulich@novell.com>
>   

Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>

> ---
>  arch/x86/include/asm/xen/hypercall.h |    2 ++
>  1 file changed, 2 insertions(+)
>
> --- linux-2.6.28-rc8/arch/x86/include/asm/xen/hypercall.h	2008-12-11 14:45:37.000000000 +0100
> +++ 2.6.28-rc8-x86_64-xen-update-descr/arch/x86/include/asm/xen/hypercall.h	2008-12-12 10:25:55.000000000 +0100
> @@ -290,6 +290,8 @@ HYPERVISOR_get_debugreg(int reg)
>  static inline int
>  HYPERVISOR_update_descriptor(u64 ma, u64 desc)
>  {
> +	if (sizeof(u64) == sizeof(long))
> +		return _hypercall2(int, update_descriptor, ma, desc);
>  	return _hypercall4(int, update_descriptor, ma, ma>>32, desc, desc>>32);
>  }
>  
>
>
>
>   


  reply	other threads:[~2008-12-16 17:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-16 11:37 [PATCH] x86-64: fix HYPERVISOR_update_descriptor() Jan Beulich
2008-12-16 17:55 ` Jeremy Fitzhardinge [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-03-12 10:36 Jan Beulich
2009-03-12 10:54 ` Ingo Molnar
2009-03-12 11:25   ` Jan Beulich
2009-03-12 11:35     ` Ingo Molnar
2009-03-12 11:51       ` Jan Beulich
2009-03-12 15:02         ` H. Peter Anvin

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=4947EB7C.9080006@goop.org \
    --to=jeremy@goop.org \
    --cc=hpa@zytor.com \
    --cc=jbeulich@novell.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    /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