]> git.proxmox.com Git - mirror_qemu.git/commit
tci: Fix wrong macro name for debug code
authorStefan Weil <sw@weilnetz.de>
Thu, 3 May 2012 16:09:45 +0000 (18:09 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 8 May 2012 16:15:18 +0000 (11:15 -0500)
commit17904bcfb760bdf6bd462e0396478893555d1edb
tree73c3b1b892a10ad55fe86bc0d2cc3f69c1f7fe8b
parent165ceac0950dcfdf7a2676d6189bbab3d67701f1
tci: Fix wrong macro name for debug code

Code which is compiled with CONFIG_TCG_DEBUG (set by configure option
--enable-debug-tcg) should not disable the assert macro by
defining NDEBUG.

With the wrong macro name CONFIG_TCG_DEBUG, all assertions in tci.c
were completely useless because NDEBUG was always defined.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
tci.c