]> Git Repo - qemu.git/commitdiff
Fix i386-bsd-user build
authorBlue Swirl <[email protected]>
Tue, 23 Feb 2010 21:46:32 +0000 (21:46 +0000)
committerBlue Swirl <[email protected]>
Tue, 23 Feb 2010 21:46:32 +0000 (21:46 +0000)
Signed-off-by: Blue Swirl <[email protected]>
target-i386/helper.c

index 7cda864b7bc8a5e3b7661d9d24ecb0ab264e8759..57e6f7c80657096b929363a33d92177b529768dc 100644 (file)
@@ -776,7 +776,7 @@ static int cpu_x86_register (CPUX86State *env, const char *cpu_model)
     return 0;
 }
 
-#if !defined(CONFIG_LINUX_USER)
+#if !defined(CONFIG_USER_ONLY)
 /* copy vendor id string to 32 bit register, nul pad as needed
  */
 static void cpyid(const char *s, uint32_t *id)
@@ -879,7 +879,7 @@ static int cpudef_register(QemuOpts *opts, void *opaque)
     x86_defs = def;
     return (0);
 }
-#endif /* !CONFIG_LINUX_USER */
+#endif /* !CONFIG_USER_ONLY */
 
 /* register "cpudef" models defined in configuration file.  Here we first
  * preload any built-in definitions
@@ -893,7 +893,7 @@ void x86_cpudef_setup(void)
         builtin_x86_defs[i].flags = 1;
         x86_defs = &builtin_x86_defs[i];
     }
-#if !defined(CONFIG_LINUX_USER)
+#if !defined(CONFIG_USER_ONLY)
     qemu_opts_foreach(&qemu_cpudef_opts, cpudef_register, NULL, 0);
 #endif
 }
This page took 0.03088 seconds and 4 git commands to generate.