[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] PATCH: fix typo for page structure name
Signed-off-by: Michael Abd-El-Malek <mabdelmalek@xxxxxxx> diff -r 5f49742fd697 drivers/xen/blktap/blktap.c --- a/drivers/xen/blktap/blktap.c Sat Apr 12 00:28:56 2008 -0400 +++ b/drivers/xen/blktap/blktap.c Sun Apr 13 16:29:55 2008 -0400 @@ -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"); diff -r 5f49742fd697 drivers/xen/gntdev/gntdev.c --- a/drivers/xen/gntdev/gntdev.c Sat Apr 12 00:28:56 2008 -0400 +++ b/drivers/xen/gntdev/gntdev.c Sun Apr 13 16:29:55 2008 -0400 @@ -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 Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |