qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC PATCH 08/34] mb: cpu.h: Move cpu-all include


From: Peter Crosthwaite
Subject: [Qemu-devel] [RFC PATCH 08/34] mb: cpu.h: Move cpu-all include
Date: Sun, 10 May 2015 23:29:11 -0700

The defs that follow dont need cpu-all. Move cpu-all include further
down to group it with exec-all.h.

Signed-off-by: Peter Crosthwaite <address@hidden>
---
 target-microblaze/cpu.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h
index 7030123..18071f5 100644
--- a/target-microblaze/cpu.h
+++ b/target-microblaze/cpu.h
@@ -316,8 +316,6 @@ static inline int cpu_mmu_index (CPUMBState *env)
 int mb_cpu_handle_mmu_fault(CPUState *cpu, vaddr address, int rw,
                             int mmu_idx);
 
-#include "exec/cpu-all.h"
-
 static inline void cpu_get_tb_cpu_state(CPUMBState *env, target_ulong *pc,
                                         target_ulong *cs_base, int *flags)
 {
@@ -333,6 +331,7 @@ void mb_cpu_unassigned_access(CPUState *cpu, hwaddr addr,
                               unsigned size);
 #endif
 
+#include "exec/cpu-all.h"
 #include "exec/exec-all.h"
 
 #endif
-- 
1.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]