Re: Linux 2.4.11-pre2

henrik
2001-10-01T22:18:16Z

I get:

gcc -D__KERNEL__ -I/home/src/linux-2.4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DEXPORT_SYMTAB -c sysrq.c
sysrq.c: In function `sysrq_handle_mountro':
sysrq.c:234: too many arguments to function `wakeup_bdflush'
make[3]: *** [sysrq.o] Error 1
make[3]: Leaving directory `/home/src/linux-2.4/drivers/char'

Seems this patch to drivers/char/sysrq.c should not be in:

static void sysrq_handle_mountro(int key, struct pt_regs *pt_regs,
struct kbd_struct *kbd, struct tty_struct *tty) {
emergency_sync_scheduled = EMERG_REMOUNT;
- wakeup_bdflush();
+ wakeup_bdflush(0);
}

--
Henrik Storner <henrik@hswn.dk>