diff options
Diffstat (limited to 'include/exec/cputlb.h')
-rw-r--r-- | include/exec/cputlb.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/exec/cputlb.h b/include/exec/cputlb.h index 6da1462..ef18642 100644 --- a/include/exec/cputlb.h +++ b/include/exec/cputlb.h @@ -22,9 +22,14 @@ #include "exec/cpu-common.h" +#ifdef CONFIG_TCG + #if !defined(CONFIG_USER_ONLY) /* cputlb.c */ void tlb_protect_code(ram_addr_t ram_addr); void tlb_unprotect_code(ram_addr_t ram_addr); #endif + +#endif /* CONFIG_TCG */ + #endif |