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

was Re: [Xen-devel] [2/3] [LINUX] gnttab: Add basic DMA tracking

To: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Subject: was Re: [Xen-devel] [2/3] [LINUX] gnttab: Add basic DMA tracking
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Thu, 7 Jun 2007 17:48:48 +0900
Cc: Xen Development Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir@xxxxxxxxxxxxx>, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 07 Jun 2007 01:46:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070529045528.GA2025@xxxxxxxxxxxxxxxxxxx>
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>
References: <20070529045509.GA1983@xxxxxxxxxxxxxxxxxxx> <20070529045528.GA2025@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Tue, May 29, 2007 at 02:55:28PM +1000, Herbert Xu wrote:
> +int gnttab_copy_grant_page(grant_ref_t ref, struct page **pagep)
> +{
...
> +     paddr_t pfn;
> +     maddr_t mfn;
> +     maddr_t new_mfn;

The type of page frame number is unsigned long.
Especially paddr_t isn't defined in ia64 so that it causes compilation error.

-- 
yamahata

Attachment: 15202_1c4aac883f56_use_unsigned_long_instead_of_maddr_t_or_paddr_t.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>