diff options
author | Alfred M. Szmidt <ams@gnu.org> | 2004-12-01 06:10:11 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:15:26 +0200 |
commit | 8f95dc8729437a6546a3777106f64d1c671d8ac3 (patch) | |
tree | 806d93a10c23bc2eda42628ba3fcbd29009b8a48 /util | |
parent | 7e2c3175d713af0d7ce14182fc188a24df176d36 (diff) |
2004-09-07 Neal H. Walfield <neal@cs.uml.edu>
* linux/dev/glue/block.c (__brelse): Unconditionally kfree BH.
(getblk): Unconditionally kalloc BH.
* kern/kalloc.c [!NDEBUG] (kalloc_init_called): New static
variable.
(kalloc_init): Assert that kalloc_init_called is zero.
[! NDEBUG] Set kalloc_init_called to 1 on success.
(kalloc): Assert that kalloc_init_called is non-zero.
(kget): Likewise.
(kfree): Likewise.
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions