summaryrefslogtreecommitdiff
path: root/linux/dev/glue
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2007-04-25 13:44:11 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:08 +0200
commita9b0cc13914324b0d4fa347c107d82166f3b1555 (patch)
treea8cf1d6dfe4fc8591de6a1be6b0ac29dce0e6d2a /linux/dev/glue
parentd29098865fff13b39d27d826ba988402ac948728 (diff)
2007-04-25 Thomas Schwinge <tschwinge@gnu.org>
* linux/dev/glue/kmem.c (vmalloc_list_remove): Cast the first argument in the `kfree' call to what is expected.
Diffstat (limited to 'linux/dev/glue')
-rw-r--r--linux/dev/glue/kmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/dev/glue/kmem.c b/linux/dev/glue/kmem.c
index 9f0412f..908d086 100644
--- a/linux/dev/glue/kmem.c
+++ b/linux/dev/glue/kmem.c
@@ -525,7 +525,7 @@ vmalloc_list_remove (struct vmalloc_struct *p)
p->next->prev = p->prev;
p->prev->next = p->next;
- kfree (p, sizeof (struct vmalloc_struct));
+ kfree ((vm_offset_t) p, sizeof (struct vmalloc_struct));
}
/* Allocate SIZE bytes of memory. The pages need not be contiguous. */