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] [XENOPROFILE] removed unused gmaddr argum

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [XENOPROFILE] removed unused gmaddr argument.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 28 Nov 2006 13:40:15 +0000
Delivery-date: Tue, 28 Nov 2006 05:40:10 -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 kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 5e70a5184746e18099d29282e84ef1e6cde1429e
# Parent  d9c8a18624fbe0a3b6fed361b638d8071741d33a
[XENOPROFILE] removed unused gmaddr argument.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 xen/common/xenoprof.c |   14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)

diff -r d9c8a18624fb -r 5e70a5184746 xen/common/xenoprof.c
--- a/xen/common/xenoprof.c     Mon Nov 27 10:23:19 2006 +0000
+++ b/xen/common/xenoprof.c     Mon Nov 27 10:24:41 2006 +0000
@@ -128,7 +128,7 @@ xenoprof_shared_gmfn_with_guest(
     }
 }
 
-static char *alloc_xenoprof_buf(struct domain *d, int npages, uint64_t gmaddr)
+static char *alloc_xenoprof_buf(struct domain *d, int npages)
 {
     char *rawbuf;
     int order;
@@ -146,7 +146,7 @@ static char *alloc_xenoprof_buf(struct d
 }
 
 static int alloc_xenoprof_struct(
-    struct domain *d, int max_samples, int is_passive, uint64_t gmaddr)
+    struct domain *d, int max_samples, int is_passive)
 {
     struct vcpu *v;
     int nvcpu, npages, bufsize, max_bufsize;
@@ -179,8 +179,7 @@ static int alloc_xenoprof_struct(
         (max_samples - 1) * sizeof(struct event_log);
     npages = (nvcpu * bufsize - 1) / PAGE_SIZE + 1;
     
-    d->xenoprof->rawbuf = alloc_xenoprof_buf(is_passive ? dom0 : d, npages,
-                                             gmaddr);
+    d->xenoprof->rawbuf = alloc_xenoprof_buf(is_passive ? dom0 : d, npages);
 
     if ( d->xenoprof->rawbuf == NULL )
     {
@@ -368,8 +367,7 @@ static int add_passive_list(XEN_GUEST_HA
 
     if ( d->xenoprof == NULL )
     {
-        ret = alloc_xenoprof_struct(
-            d, passive.max_samples, 1, passive.buf_gmaddr);
+        ret = alloc_xenoprof_struct(d, passive.max_samples, 1);
         if ( ret < 0 )
         {
             put_domain(d);
@@ -509,9 +507,7 @@ static int xenoprof_op_get_buffer(XEN_GU
      */
     if ( d->xenoprof == NULL )
     {
-        ret = alloc_xenoprof_struct(
-            d, xenoprof_get_buffer.max_samples, 0,
-            xenoprof_get_buffer.buf_gmaddr);
+        ret = alloc_xenoprof_struct(d, xenoprof_get_buffer.max_samples, 0);
         if ( ret < 0 )
             return ret;
     }

_______________________________________________
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] [XENOPROFILE] removed unused gmaddr argument., Xen patchbot-unstable <=