summary refs log tree commit diff stats
path: root/hw/mips_r4k.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/mips_r4k.c')
-rw-r--r--hw/mips_r4k.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/mips_r4k.c b/hw/mips_r4k.c
index 7709418c00..487983e462 100644
--- a/hw/mips_r4k.c
+++ b/hw/mips_r4k.c
@@ -15,7 +15,7 @@
 #define BIOS_FILENAME "mipsel_bios.bin"
 #endif
 
-#ifdef MIPS_HAS_MIPS64
+#ifdef TARGET_MIPS64
 #define INITRD_LOAD_ADDR (int64_t)(int32_t)0x80800000
 #else
 #define INITRD_LOAD_ADDR (int32_t)0x80800000
@@ -142,7 +142,7 @@ void mips_r4k_init (int ram_size, int vga_ram_size, int boot_device,
 
     /* init CPUs */
     if (cpu_model == NULL) {
-#ifdef MIPS_HAS_MIPS64
+#ifdef TARGET_MIPS64
         cpu_model = "R4000";
 #else
         cpu_model = "4KEc";