summaryrefslogtreecommitdiff
path: root/linux-user/i386
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2016-06-29 16:05:18 +0200
committerMarkus Armbruster <armbru@redhat.com>2016-07-12 16:19:16 +0200
commit55c5063c61e030c533b4bca8ef2a2ad26f1bc73a (patch)
treea4b44d668303150c1297762c3388b6bf158f34e4 /linux-user/i386
parent3622634bc665244c2fd4382301cfadcef1a9e934 (diff)
downloadqemu-55c5063c61e030c533b4bca8ef2a2ad26f1bc73a.tar.gz
qemu-55c5063c61e030c533b4bca8ef2a2ad26f1bc73a.tar.bz2
qemu-55c5063c61e030c533b4bca8ef2a2ad26f1bc73a.zip
linux-user: Clean up target_cpu.h header guards
These headers all use TARGET_CPU_H as header guard symbol. Reuse of the same guard symbol in multiple headers is okay as long as they cannot be included together. Since we can avoid guard symbol reuse easily, do so: use guard symbol $target_TARGET_CPU_H for linux-user/$target/target_cpu.h. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'linux-user/i386')
-rw-r--r--linux-user/i386/target_cpu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux-user/i386/target_cpu.h b/linux-user/i386/target_cpu.h
index 58f86454d6..7fbcf9bb57 100644
--- a/linux-user/i386/target_cpu.h
+++ b/linux-user/i386/target_cpu.h
@@ -17,8 +17,8 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef TARGET_CPU_H
-#define TARGET_CPU_H
+#ifndef I386_TARGET_CPU_H
+#define I386_TARGET_CPU_H
static inline void cpu_clone_regs(CPUX86State *env, target_ulong newsp)
{
@@ -45,4 +45,4 @@ static inline void cpu_set_tls(CPUX86State *env, target_ulong newtls)
}
#endif /* defined(TARGET_ABI32) */
-#endif /* !defined(TARGET_CPU_H) */
+#endif /* I386_TARGET_CPU_H */