Skip to content

Commit

Permalink
target/loongarch/cpu: Restrict "memory.h" header to sysemu
Browse files Browse the repository at this point in the history
Missed in 0093b9a ("target/loongarch: Adjust functions
and structure to support user-mode") while cleaning commit
f84a2aa ("target/loongarch: Add LoongArch IOCSR instruction").

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221217172907.8364-4-philmd@linaro.org>
  • Loading branch information
philmd committed Feb 27, 2023
1 parent 4e92e31 commit 8f15d61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions target/loongarch/cpu.h
Expand Up @@ -12,7 +12,9 @@
#include "fpu/softfloat-types.h"
#include "hw/registerfields.h"
#include "qemu/timer.h"
#ifndef CONFIG_USER_ONLY
#include "exec/memory.h"
#endif
#include "cpu-csr.h"

#define IOCSRF_TEMP 0
Expand Down

0 comments on commit 8f15d61

Please sign in to comment.