On Thu, Sep 2, 2021 at 9:17 AM Philippe Mathieu-Daudé <f4...@amsat.org> wrote:
> Restrict some sysemu-only fpu_helper helpers (see commit > 83a3d9c7402: "i386: separate fpu_helper sysemu-only parts"). > > Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> > Reviewed-by: Warner Losh <i...@bsdimp.com> > --- > target/i386/cpu.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/target/i386/cpu.h b/target/i386/cpu.h > index 6c50d3ab4f1..c241bc183d2 100644 > --- a/target/i386/cpu.h > +++ b/target/i386/cpu.h > @@ -1833,11 +1833,14 @@ void x86_cpu_list(void); > int cpu_x86_support_mca_broadcast(CPUX86State *env); > > int cpu_get_pic_interrupt(CPUX86State *s); > + > +#ifndef CONFIG_USER_ONLY > /* MSDOS compatibility mode FPU exception support */ > void x86_register_ferr_irq(qemu_irq irq); > void fpu_check_raise_ferr_irq(CPUX86State *s); > void cpu_set_ignne(void); > void cpu_clear_ignne(void); > +#endif > > /* mpx_helper.c */ > void cpu_sync_bndcs_hflags(CPUX86State *env); > -- > 2.31.1 > >