diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2006-05-12 19:23:21 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:26:37 +0200 |
commit | d5514210b86c57db0277ce862a8081649ef26ef2 (patch) | |
tree | 84ac0abefe18093d6a94f3a0f84242a66bd8a0df /linux/dev | |
parent | 155c14f0438cc2443126700d5874ca8f3fcce990 (diff) |
2006-05-12 Stefan Siegl <stesie@brokenpipe.de>
* linux/dev/glue/kmem.c (vfree): Panic if `vmalloc_list_lookup' did
NOT succeed.
Diffstat (limited to 'linux/dev')
-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 3a9d260..9f0412f 100644 --- a/linux/dev/glue/kmem.c +++ b/linux/dev/glue/kmem.c @@ -550,7 +550,7 @@ vfree (void *addr) struct vmalloc_struct *p; p = vmalloc_list_lookup ((vm_offset_t) addr); - if (p) + if (!p) panic ("vmalloc_list_lookup failure"); kmem_free (kernel_map, addr, p->size); |