diff options
author | Guillem Jover <guillem@hadrons.org> | 2011-09-01 17:17:21 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-09-02 20:06:02 +0200 |
commit | c02c5e5cd633227dd5cfa33367802a01c63347e9 (patch) | |
tree | faf09370b71c91608eff8cf9c658132bd7a021c1 /linux/dev/glue | |
parent | cb8c7b9673b425845dc35608b6c657d9ed1f57d6 (diff) |
Cast addr argument to vm_offset_t
* linux/dev/glue/kmem.c (vfree): Cast `addr' argument on kfree_mem
function to vm_offset_t.
Diffstat (limited to 'linux/dev/glue')
-rw-r--r-- | 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); } |