[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH gnumach 3/6] Cast addr argument to vm_offset_t
From: |
Guillem Jover |
Subject: |
[PATCH gnumach 3/6] Cast addr argument to vm_offset_t |
Date: |
Thu, 1 Sep 2011 17:17:21 +0200 |
* linux/dev/glue/kmem.c (vfree): Cast `addr' argument on kfree_mem
function to vm_offset_t.
---
linux/dev/glue/kmem.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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);
}
--
1.7.5.4