From: Juergen Lock Date: Mon, 22 Mar 2010 18:12:43 +0000 (+0100) Subject: Fix bsd-user broken by commit b5ec5ce0e39d6e7ea707d5604a5f6d567dfd2f48 X-Git-Tag: v0.13.0-rc0~984 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0c62de2f4df339230aa0f0b954847a870a02a5de;p=thirdparty%2Fqemu.git Fix bsd-user broken by commit b5ec5ce0e39d6e7ea707d5604a5f6d567dfd2f48 Signed-off-by: Juergen Lock Signed-off-by: Blue Swirl --- diff --git a/bsd-user/main.c b/bsd-user/main.c index 9f8683d2e6d..6b59a161122 100644 --- a/bsd-user/main.c +++ b/bsd-user/main.c @@ -759,6 +759,10 @@ int main(int argc, char **argv) } cpu_model = NULL; +#if defined(cpudef_setup) + cpudef_setup(); /* parse cpu definitions in target config file (TBD) */ +#endif + optind = 1; for(;;) { if (optind >= argc)