On Tue, 7 Nov 2000, Tomasz Motylewski wrote: > 2.2.18pre19: > ide-probe.c:400: `rtc_lock' undeclared (first use this function) > ide-probe.c:400: (Each undeclared identifier is reported only once > ide-probe.c:400: for each function it appears in.) See the attached patch. Just declares it as an extern spinlock_t, as per a boatload of other places in the kernel. Mark -- +-------------------------------------------------------------------------+ Mark Cooke The views expressed above are mine and are not Systems Programmer necessarily representative of university policy University Of Birmingham URL: http://www.sr.bham.ac.uk/~mpc/ +-------------------------------------------------------------------------+
--- linux/drivers/block/ide-probe.c.orig Sat Nov 4 06:32:43 2000 +++ linux/drivers/block/ide-probe.c Sat Nov 4 06:32:52 2000 @@ -43,6 +43,8 @@ #include <asm/uaccess.h> #include <asm/io.h> +extern spinlock_t rtc_lock; + #include "ide.h" static inline void do_identify (ide_drive_t *drive, byte cmd)