PATCH: fix typo for page structure name
Signed-off-by Michael Abd-El-Malek <[email protected]>
drivers/xen/blktap/blktap.c +1 -1
@@ -684,7 +684,7 @@ static int blktap_mmap(struct file *filp/* Mark this VM as containing foreign pages, and set up mappings. */ map =kzalloc (((vma->vm_end - vma->vm_start) >>PAGE_SHIFT ) - *sizeof (struct page_struct *), + *sizeof (struct page *),GFP_KERNEL );if (map ==NULL ) {WPRINTK ("Couldn't alloc VM_FOREIGN map.\n" );
drivers/xen/gntdev/gntdev.c +1 -2
@@ -509,8 +509,7 @@ static int gntdev_mmap (struct file *fli/* The VM area contains pages from another VM. */ vma->vm_flags |=VM_FOREIGN ; - vma->vm_private_data =kzalloc (size *sizeof (struct page_struct *), -GFP_KERNEL ); + vma->vm_private_data =kzalloc (size *sizeof (struct page *),GFP_KERNEL );if (vma->vm_private_data ==NULL ) {printk (KERN_ERR "Couldn't allocate mapping structure for VM " "area.\n" );
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel