diff options
author | Juan Quintela <quintela@redhat.com> | 2009-07-27 16:13:06 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-27 14:09:21 -0500 |
commit | e2542fe2bce6756948dffe2d233d154a9e25bd35 (patch) | |
tree | 187b840091116d420116fb2627e48afa25d59563 /target-i386/translate.c | |
parent | f0667e660720cf2aee4c58716a7a9337bc359a31 (diff) |
rename WORDS_BIGENDIAN to HOST_WORDS_BIGENDIAN
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-i386/translate.c')
-rw-r--r-- | target-i386/translate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-i386/translate.c b/target-i386/translate.c index 380009e390..ff93985754 100644 --- a/target-i386/translate.c +++ b/target-i386/translate.c @@ -255,7 +255,7 @@ static inline void gen_op_andl_A0_ffff(void) #endif /* !TARGET_X86_64 */ -#if defined(WORDS_BIGENDIAN) +#if defined(HOST_WORDS_BIGENDIAN) #define REG_B_OFFSET (sizeof(target_ulong) - 1) #define REG_H_OFFSET (sizeof(target_ulong) - 2) #define REG_W_OFFSET (sizeof(target_ulong) - 2) @@ -7151,7 +7151,7 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start) break; case 4: /* smsw */ gen_svm_check_intercept(s, pc_start, SVM_EXIT_READ_CR0); -#if defined TARGET_X86_64 && defined WORDS_BIGENDIAN +#if defined TARGET_X86_64 && defined HOST_WORDS_BIGENDIAN tcg_gen_ld32u_tl(cpu_T[0], cpu_env, offsetof(CPUX86State,cr[0]) + 4); #else tcg_gen_ld32u_tl(cpu_T[0], cpu_env, offsetof(CPUX86State,cr[0])); |