Revision 161717d2 target-i386/helper.c

b/target-i386/helper.c
776 776
    return 0;
777 777
}
778 778

  
779
#if !defined(CONFIG_LINUX_USER)
779
#if !defined(CONFIG_USER_ONLY)
780 780
/* copy vendor id string to 32 bit register, nul pad as needed
781 781
 */
782 782
static void cpyid(const char *s, uint32_t *id)
......
879 879
    x86_defs = def;
880 880
    return (0);
881 881
}
882
#endif	/* !CONFIG_LINUX_USER */
882
#endif /* !CONFIG_USER_ONLY */
883 883

  
884 884
/* register "cpudef" models defined in configuration file.  Here we first
885 885
 * preload any built-in definitions
......
893 893
        builtin_x86_defs[i].flags = 1;
894 894
        x86_defs = &builtin_x86_defs[i];
895 895
    }
896
#if !defined(CONFIG_LINUX_USER)
896
#if !defined(CONFIG_USER_ONLY)
897 897
    qemu_opts_foreach(&qemu_cpudef_opts, cpudef_register, NULL, 0);
898 898
#endif
899 899
}

Also available in: Unified diff