accel/tcg: Include missing headers in 'tb-jmp-cache.h'
commit893b4bde885c1f02edbe9d9533919abb0ac50490
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 10 Jan 2024 14:49:40 +0000 (10 15:49 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 26 Apr 2024 13:31:37 +0000 (26 15:31 +0200)
treed1384fa8380a4e010addcaf0f4b7c647b7c37526
parent6bba316e2333462aa8e93eda6908c06db3e4727a
accel/tcg: Include missing headers in 'tb-jmp-cache.h'

Due to missing headers, when including "tb-jmp-cache.h" we might get:

  accel/tcg/tb-jmp-cache.h:21:21: error: field ‘rcu’ has incomplete type
     21 |     struct rcu_head rcu;
        |                     ^~~
  accel/tcg/tb-jmp-cache.h:24:9: error: unknown type name ‘vaddr’
     24 |         vaddr pc;
        |         ^~~~~

Add the missing "qemu/rcu.h" and "exec/cpu-common.h" headers.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240111162442.43755-1-philmd@linaro.org>
accel/tcg/tb-jmp-cache.h