diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-02-23 21:46:32 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-02-23 21:46:32 +0000 |
commit | 161717d2cb714f8a73d4167d280a5fad7d3f5bc7 (patch) | |
tree | 848d8cadb4b0324418856c94e5440361c0e8c84e /target-i386/helper.c | |
parent | 20c205269dde33aa6a4b9dfae307530383f9804b (diff) |
Fix i386-bsd-user build
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-i386/helper.c')
-rw-r--r-- | target-i386/helper.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c index 7cda864b7b..57e6f7c806 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -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 } |