Patchwork Fix bsd-user broken by commit b5ec5ce0e39d6e7ea707d5604a5f6d567dfd2f48

login
register
mail settings
Submitter Juergen Lock
Date March 22, 2010, 6:12 p.m.
Message ID <20100322181243.GA9713@triton8.kn-bremen.de>
Download mbox | patch
Permalink /patch/48301/
State New
Headers show

Comments

Juergen Lock - March 22, 2010, 6:12 p.m.
Signed-off-by: Juergen Lock <nox@jelal.kn-bremen.de>
Blue Swirl - March 23, 2010, 7:45 p.m.
Thanks, applied.

On 3/22/10, Juergen Lock <nox@jelal.kn-bremen.de> wrote:
> Signed-off-by: Juergen Lock <nox@jelal.kn-bremen.de>
>
>  --- 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)
>
>
>

Patch

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