diff --git a/include/exec/cpu-defs.h b/include/exec/cpu-defs.h index d5aecaf49e..817889bb04 100644 --- a/include/exec/cpu-defs.h +++ b/include/exec/cpu-defs.h @@ -161,7 +161,6 @@ typedef struct CPUIOTLBEntry { #endif -#define CPU_TEMP_BUF_NLONGS 128 #define CPU_COMMON \ /* soft mmu support */ \ CPU_COMMON_TLB \ diff --git a/tcg/tcg.h b/tcg/tcg.h index 41e486959d..231a781524 100644 --- a/tcg/tcg.h +++ b/tcg/tcg.h @@ -29,6 +29,8 @@ #include "qemu/bitops.h" #include "tcg-target.h" +#define CPU_TEMP_BUF_NLONGS 128 + /* Default target word size to pointer size. */ #ifndef TCG_TARGET_REG_BITS # if UINTPTR_MAX == UINT32_MAX