WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [HVM] Whitespace cleanup.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [HVM] Whitespace cleanup.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 19 Jan 2007 10:45:11 -0800
Delivery-date: Fri, 19 Jan 2007 10:45:24 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx>
# Date 1169214197 0
# Node ID 3157835b1d45f7175aba2b4a98cac93f527d6b10
# Parent  ba18f07cb61c48a68782c8536dbdc2bb33a339ff
[HVM] Whitespace cleanup.

Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx>
---
 xen/arch/x86/hvm/vpt.c |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)

diff -r ba18f07cb61c -r 3157835b1d45 xen/arch/x86/hvm/vpt.c
--- a/xen/arch/x86/hvm/vpt.c    Fri Jan 19 12:11:52 2007 +0000
+++ b/xen/arch/x86/hvm/vpt.c    Fri Jan 19 13:43:17 2007 +0000
@@ -163,7 +163,6 @@ void pt_intr_post(struct vcpu *v, int ve
 void pt_intr_post(struct vcpu *v, int vector, int type)
 {
     struct periodic_time *pt = is_pt_irq(v, vector, type);
-    unsigned long long gtime;
 
     if ( pt == NULL )
         return;
@@ -171,8 +170,7 @@ void pt_intr_post(struct vcpu *v, int ve
     pt->pending_intr_nr--;
     pt->last_plt_gtime += pt->period_cycles;
 
-    gtime = hvm_get_guest_time(pt->vcpu);
-    if (gtime < pt->last_plt_gtime)
+    if ( hvm_get_guest_time(pt->vcpu) < pt->last_plt_gtime )
         hvm_set_guest_time(pt->vcpu, pt->last_plt_gtime);
 
     if ( pt->cb != NULL )

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [HVM] Whitespace cleanup., Xen patchbot-unstable <=