diff options
author | Markus Armbruster <armbru@redhat.com> | 2016-06-29 11:05:55 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2016-07-12 16:19:16 +0200 |
commit | 07f5a258750b3b9a6e10fd5ec3e29c9a943b650e (patch) | |
tree | a36f90bc5a8ef01fe3a117b8923f9fd9a0ce69ce /target-ppc | |
parent | 2dbc4ebc1712a5cf9e6a36327dce0b465abd5bbe (diff) | |
download | qemu-07f5a258750b3b9a6e10fd5ec3e29c9a943b650e.tar.gz qemu-07f5a258750b3b9a6e10fd5ec3e29c9a943b650e.tar.bz2 qemu-07f5a258750b3b9a6e10fd5ec3e29c9a943b650e.zip |
target-*: Clean up cpu.h header guards
Most of them use guard symbols like CPU_$target_H, but we also have
__MIPS_CPU_H__ and __TRICORE_CPU_H__. They all upset
scripts/clean-header-guards.pl.
The script dislikes CPU_$target_H because they don't match their file
name (they should, to make guard collisions less likely). The others
are reserved identifiers.
Clean them all up: use guard symbol $target_CPU_H for
target-$target/cpu.h.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-ppc')
-rw-r--r-- | target-ppc/cpu.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index 2666a3f80d..5fce1ffa25 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -16,8 +16,9 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ -#if !defined (__CPU_PPC_H__) -#define __CPU_PPC_H__ + +#ifndef PPC_CPU_H +#define PPC_CPU_H #include "qemu-common.h" @@ -2432,4 +2433,4 @@ int ppc_get_vcpu_dt_id(PowerPCCPU *cpu); PowerPCCPU *ppc_get_vcpu_by_dt_id(int cpu_dt_id); void ppc_maybe_bswap_register(CPUPPCState *env, uint8_t *mem_buf, int len); -#endif /* !defined (__CPU_PPC_H__) */ +#endif /* PPC_CPU_H */ |