lkml.org 
[lkml]   [2009]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86-64: fix HYPERVISOR_update_descriptor()

* Jan Beulich <jbeulich@novell.com> 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.29-rc7/arch/x86/include/asm/xen/hypercall.h 2009-03-11 17:52:10.000000000 +0100
> +++ 2.6.29-rc7-x86_64-xen-update-descr/arch/x86/include/asm/xen/hypercall.h 2009-02-13 11:41:39.000000000 +0100
> @@ -296,6 +296,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);

missing changelog and Impact line.

Ingo


\
 
 \ /
  Last update: 2009-03-12 11:59    [W:0.041 / U:1.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site