bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch #3346] GNUMach: ifdef DEBUG -> ifndef NDEBUG


From: Alfred M. Szmidt
Subject: Re: [patch #3346] GNUMach: ifdef DEBUG -> ifndef NDEBUG
Date: Wed, 01 Dec 2004 07:06:37 +0100

Commited.

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]