target-*: Clean up cpu.h header guards
authorMarkus Armbruster <armbru@redhat.com>
Wed, 29 Jun 2016 09:05:55 +0000 (11:05 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 12 Jul 2016 14:19:16 +0000 (16:19 +0200)
commit07f5a258750b3b9a6e10fd5ec3e29c9a943b650e
treea36f90bc5a8ef01fe3a117b8923f9fd9a0ce69ce
parent2dbc4ebc1712a5cf9e6a36327dce0b465abd5bbe
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>
18 files changed:
target-alpha/cpu.h
target-arm/cpu.h
target-cris/cpu.h
target-i386/cpu.h
target-lm32/cpu.h
target-m68k/cpu.h
target-microblaze/cpu.h
target-mips/cpu.h
target-moxie/cpu.h
target-openrisc/cpu.h
target-ppc/cpu.h
target-s390x/cpu.h
target-sh4/cpu.h
target-sparc/cpu.h
target-tilegx/cpu.h
target-tricore/cpu.h
target-unicore32/cpu.h
target-xtensa/cpu.h