Kernel 2.4.0 pre, undefined symbol in atyfb.o

From: Aaron Gaudio (adg1653@cs.rit.edu)
Date: Fri Jan 05 2001 - 12:48:50 EST


I'm not a subscriber to this list, cause I don't usually muck around with
kernel code, so if anyone needs to reply to me, make sure to CC me in.

I was trying to compile the 2.4.0 prerelease with the aty framebuffer,
and the kernel failed to link due to an unresolved symbol in
drivers/video/atyfb.o (__bad_udelay). The problem seems to be that
in <asm/delay.h>, it doesn't allow arguments to udelay greater than
20000 (despite the warning in <linux/delay.h> indicating 50000 should be
the max). I patched atyfb.c to use mdelay here instead of udelay (line
1754 or thereabouts), and the kernel compiled and linked. I haven't been
able to reboot yet cause I have to do some work to justify my paycheck :)
FWIW, the tiny patch is included as an attachment.

-- 

Aaron Gaudio icy_manipulator @ mindless.com -------------- http://www.rit.edu/~adg1653 "Information is free. Knowledge is expensive. Wisdom is priceless." -------------- Email Usage Policy: http://www.rit.edu/~adg1653/email.shtml

Zāijiān


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 07 2001 - 21:00:22 EST