aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu/tcg.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sysemu/tcg.h')
-rw-r--r--include/sysemu/tcg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sysemu/tcg.h b/include/sysemu/tcg.h
index 7d116d2..d9d3ca8 100644
--- a/include/sysemu/tcg.h
+++ b/include/sysemu/tcg.h
@@ -8,9 +8,9 @@
#ifndef SYSEMU_TCG_H
#define SYSEMU_TCG_H
-extern bool tcg_allowed;
void tcg_exec_init(unsigned long tb_size);
#ifdef CONFIG_TCG
+extern bool tcg_allowed;
#define tcg_enabled() (tcg_allowed)
#else
#define tcg_enabled() 0