[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xenpaging: convert mem_event_t to struct mem_event



# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1326125252 -3600
# Node ID da99d818b0070a751ee60f4abff98eeb0e08f8a6
# Parent  42dab0075a9205efc30a0014199c776ffc5cd842
xenpaging: convert mem_event_t to struct mem_event

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
---


diff -r 42dab0075a92 -r da99d818b007 tools/xenpaging/xenpaging.c
--- a/tools/xenpaging/xenpaging.c       Mon Jan 09 17:07:26 2012 +0100
+++ b/tools/xenpaging/xenpaging.c       Mon Jan 09 17:07:32 2012 +0100
@@ -527,7 +527,7 @@
     return -1;
 }
 
-static void get_request(mem_event_t *mem_event, mem_event_request_t *req)
+static void get_request(struct mem_event *mem_event, mem_event_request_t *req)
 {
     mem_event_back_ring_t *back_ring;
     RING_IDX req_cons;
@@ -544,7 +544,7 @@
     back_ring->sring->req_event = req_cons + 1;
 }
 
-static void put_response(mem_event_t *mem_event, mem_event_response_t *rsp)
+static void put_response(struct mem_event *mem_event, mem_event_response_t 
*rsp)
 {
     mem_event_back_ring_t *back_ring;
     RING_IDX rsp_prod;
diff -r 42dab0075a92 -r da99d818b007 tools/xenpaging/xenpaging.h
--- a/tools/xenpaging/xenpaging.h       Mon Jan 09 17:07:26 2012 +0100
+++ b/tools/xenpaging/xenpaging.h       Mon Jan 09 17:07:32 2012 +0100
@@ -31,14 +31,14 @@
 
 #define XENPAGING_PAGEIN_QUEUE_SIZE 64
 
-typedef struct mem_event {
+struct mem_event {
     domid_t domain_id;
     xc_evtchn *xce_handle;
     int port;
     mem_event_back_ring_t back_ring;
     mem_event_shared_page_t *shared_page;
     void *ring_page;
-} mem_event_t;
+};
 
 struct xenpaging {
     xc_interface *xc_handle;
@@ -46,7 +46,7 @@
 
     unsigned long *bitmap;
 
-    mem_event_t mem_event;
+    struct mem_event mem_event;
     /* number of pages for which data structures were allocated */
     int max_pages;
     int num_paged_out;

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.