aboutsummaryrefslogtreecommitdiff
path: root/target-moxie/cpu.h
diff options
context:
space:
mode:
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>2015-05-10 23:29:10 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2015-09-25 12:04:43 +0200
commitb744d332f3ef17adc1219be7098b0a4cc30b2dbe (patch)
tree67d9d84dab4461a8b6878d79f2d3f896b30bb8c3 /target-moxie/cpu.h
parent7233df4949df2b6c2b417beaf336a180b3c66e25 (diff)
moxie: Remove ELF_MACHINE from cpu.h
The bootloader can just pass EM_MOXIE directly, as that is architecture specific code. This removes another architecture specific definition from the global namespace. Cc: Anthony Green <green@moxielogic.com> Reviewed-by: Richard Henderson <rth@twiddle.net> Acked-By: Riku Voipio <riku.voipio@linaro.org> Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-moxie/cpu.h')
-rw-r--r--target-moxie/cpu.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/target-moxie/cpu.h b/target-moxie/cpu.h
index 7d47e0d956..2bac15bf60 100644
--- a/target-moxie/cpu.h
+++ b/target-moxie/cpu.h
@@ -26,8 +26,6 @@
#define CPUArchState struct CPUMoxieState
-#define ELF_MACHINE EM_MOXIE
-
#define MOXIE_EX_DIV0 0
#define MOXIE_EX_BAD 1
#define MOXIE_EX_IRQ 2