Skip to contentSkip to conversation

Fix bsd-user broken by commit b5ec5ce0e39d6e7ea707d5604a5f6d567dfd2f48

PATCH Applied Juergen Lock 2 participants 2 messages Mar 22, 2010 – Mar 23, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix bsd-user broken by commit b5ec5ce0e39d6e7ea707d5604a5f6d567dfd2f48

bsd-user/main.c +4 -0
@@ -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)
Applied
#1 lore raw

Thanks, applied.

Quoted 18 lines · Juergen Lock

--- 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)