lkml.org 
[lkml]   [2000]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
On Sun, Sep 10, 2000 at 08:22:30PM -0400, Horst von Brand wrote:
> hang after "OK, now booting the kernel".

Apply patch attached. Fix by Alan Cox, not me.


Best regards,
Daniel
--- linux-2.2.18pre4.vanilla/init/main.c Mon Sep 11 02:36:31 2000
+++ linux-2.2.18pre4/init/main.c Mon Sep 11 02:38:32 2000
@@ -1180,14 +1180,14 @@

/* Now handle new-style __setup parameters */
p = &__setup_start;
- do {
+ while (p < &__setup_end) {
int n = strlen(p->str);
if (!strncmp(line,p->str,n)) {
if (p->setup_func(line+n))
return 1;
}
p++;
- } while (p < &__setup_end);
+ }

return 0;
}
@@ -1493,10 +1493,10 @@
initcall_t *call;

call = &__initcall_start;
- do {
+ while (call < &__initcall_end) {
(*call)();
call++;
- } while (call < &__initcall_end);
+ }
}

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.069 / U:4.464 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site