On Fri, 05 Oct 2007 14:12:47 -0700 (PDT)
David Miller <[EMAIL PROTECTED]> wrote:
> From: Stephen Hemminger <[EMAIL PROTECTED]>
> Date: Fri, 5 Oct 2007 08:39:24 -0700
>
> > Build failed on x86_64
> >
> > ERROR: "__bad_udelay" [drivers/net/niu.ko] undefined!
>
> Can you figure out which udelay() call is too big and
> thus causing problems?
--- a/drivers/net/niu.c 2007-10-05 08:09:31.000000000 -0700
+++ b/drivers/net/niu.c 2007-10-05 08:42:06.000000000 -0700
@@ -804,7 +804,7 @@ static int bcm8704_init_user_dev3(struct
if (err)
return err;
- udelay(1000000);
+ mdelay(1000);
return 0;
}
--
Stephen Hemminger <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html