ia64/linux-2.6.18-xen.hg

changeset 519:d71965a78c20

xen: Fix typo of page structure name.

Signed-off-by: Michael Abd-El-Malek <mabelmalek@cmu.edu>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Apr 14 10:00:58 2008 +0100 (2008-04-14)
parents 7c844e8c3485
children 906b14e26f2f
files drivers/xen/blktap/blktap.c drivers/xen/gntdev/gntdev.c
line diff
     1.1 --- a/drivers/xen/blktap/blktap.c	Thu Apr 10 12:05:57 2008 +0100
     1.2 +++ b/drivers/xen/blktap/blktap.c	Mon Apr 14 10:00:58 2008 +0100
     1.3 @@ -684,7 +684,7 @@ static int blktap_mmap(struct file *filp
     1.4  
     1.5  	/* Mark this VM as containing foreign pages, and set up mappings. */
     1.6  	map = kzalloc(((vma->vm_end - vma->vm_start) >> PAGE_SHIFT)
     1.7 -		      * sizeof(struct page_struct*),
     1.8 +		      * sizeof(struct page *),
     1.9  		      GFP_KERNEL);
    1.10  	if (map == NULL) {
    1.11  		WPRINTK("Couldn't alloc VM_FOREIGN map.\n");
     2.1 --- a/drivers/xen/gntdev/gntdev.c	Thu Apr 10 12:05:57 2008 +0100
     2.2 +++ b/drivers/xen/gntdev/gntdev.c	Mon Apr 14 10:00:58 2008 +0100
     2.3 @@ -555,7 +555,7 @@ static int gntdev_mmap (struct file *fli
     2.4      
     2.5  	/* The VM area contains pages from another VM. */
     2.6  	vma->vm_flags |= VM_FOREIGN;
     2.7 -	vma->vm_private_data = kzalloc(size * sizeof(struct page_struct *), 
     2.8 +	vma->vm_private_data = kzalloc(size * sizeof(struct page *),
     2.9  				       GFP_KERNEL);
    2.10  	if (vma->vm_private_data == NULL) {
    2.11  		printk(KERN_ERR "Couldn't allocate mapping structure for VM "