[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] xen: Fix typo of page structure name.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1208163658 -3600
# Node ID d71965a78c2069fc88d565c5c7ba57889b00b00d
# Parent  7c844e8c3485de8ad8cf89eb5c6c6dc6cc2881a8
xen: Fix typo of page structure name.

Signed-off-by: Michael Abd-El-Malek <mabelmalek@xxxxxxx>
---
 drivers/xen/blktap/blktap.c |    2 +-
 drivers/xen/gntdev/gntdev.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r 7c844e8c3485 -r d71965a78c20 drivers/xen/blktap/blktap.c
--- a/drivers/xen/blktap/blktap.c       Thu Apr 10 12:05:57 2008 +0100
+++ b/drivers/xen/blktap/blktap.c       Mon Apr 14 10:00:58 2008 +0100
@@ -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 7c844e8c3485 -r d71965a78c20 drivers/xen/gntdev/gntdev.c
--- a/drivers/xen/gntdev/gntdev.c       Thu Apr 10 12:05:57 2008 +0100
+++ b/drivers/xen/gntdev/gntdev.c       Mon Apr 14 10:00:58 2008 +0100
@@ -555,7 +555,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 *), 
+       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 "

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.