]> Git Repo - qemu.git/commit - tci.c
tci: Fix wrong macro name for debug code
authorStefan Weil <[email protected]>
Thu, 3 May 2012 16:09:45 +0000 (18:09 +0200)
committerAnthony Liguori <[email protected]>
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 <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
tci.c
This page took 0.029467 seconds and 4 git commands to generate.