Re: [Qemu-devel] [Discussion 05/10] NEED_CPU_H: remove unnecessary inclusion of cpu.h in root

2014-03-04 Thread Paolo Bonzini
Il 04/03/2014 03:47, Xuebing Wang ha scritto: Enforce the strict associativity between NEED_CPU_H and inclusion of cpu.h, for every appearance of '#include cpu.h', there must have the check of NEED_CPU_H, and conversely. As mentioned earlier, the #ifndef is unnecessary. It is already

[Qemu-devel] [Discussion 05/10] NEED_CPU_H: remove unnecessary inclusion of cpu.h in root

2014-03-03 Thread Xuebing Wang
Enforce the strict associativity between NEED_CPU_H and inclusion of cpu.h, for every appearance of '#include cpu.h', there must have the check of NEED_CPU_H, and conversely. This patch only checks file in qemu root directory by: grep -nw cpu.h *.[ch] . Note: remove unnecessary inclusion of