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-devel

[Xen-devel] [PATCH] linux: remove dead definition of gnttab_map_vaddr()

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] linux: remove dead definition of gnttab_map_vaddr()
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Fri, 09 Feb 2007 13:56:36 +0000
Delivery-date: Fri, 09 Feb 2007 05:53:53 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
The non-ia64 variant wasn't even functional (anymore?).

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

Index: head-2007-01-30/include/xen/gnttab.h
===================================================================
--- head-2007-01-30.orig/include/xen/gnttab.h   2007-01-30 15:21:30.000000000 
+0100
+++ head-2007-01-30/include/xen/gnttab.h        2007-02-06 09:21:50.000000000 
+0100
@@ -109,12 +109,6 @@ void gnttab_grant_foreign_access_ref(gra
 void gnttab_grant_foreign_transfer_ref(grant_ref_t, domid_t domid,
                                       unsigned long pfn);
 
-#ifdef __ia64__
-#define gnttab_map_vaddr(map) __va(map.dev_bus_addr)
-#else
-#define gnttab_map_vaddr(map) ((void *)(map.host_virt_addr))
-#endif
-
 int gnttab_suspend(void);
 int gnttab_resume(void);
 



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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] linux: remove dead definition of gnttab_map_vaddr(), Jan Beulich <=