From c02c5e5cd633227dd5cfa33367802a01c63347e9 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Thu, 1 Sep 2011 17:17:21 +0200 Subject: Cast addr argument to vm_offset_t * linux/dev/glue/kmem.c (vfree): Cast `addr' argument on kfree_mem function to vm_offset_t. --- linux/dev/glue/kmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/dev/glue/kmem.c b/linux/dev/glue/kmem.c index d1784a5..367895b 100644 --- a/linux/dev/glue/kmem.c +++ b/linux/dev/glue/kmem.c @@ -554,7 +554,7 @@ vfree (void *addr) if (!p) panic ("vmalloc_list_lookup failure"); - kmem_free (kernel_map, addr, p->size); + kmem_free (kernel_map, (vm_offset_t) addr, p->size); vmalloc_list_remove (p); } -- cgit v1.2.3