2.1.49 wakeup_bdflush

Alan Modra (alan@mullet.Levels.UniSA.Edu.Au)
Tue, 12 Aug 1997 13:55:02 +0930 (CST)


drivers/char/char.a(sysrq.o): In function `handle_sysrq':
sysrq.o(.text+0x23f): undefined reference to `wakeup_bdflush'
make: *** [vmlinux] Error 1

--- linux-2.1.49/fs/buffer.c Tue Aug 12 09:43:39 1997
+++ linux/fs/buffer.c Tue Aug 12 13:50:50 1997
@@ -113,7 +113,7 @@
int bdflush_min[N_PARAM] = { 0, 10, 5, 25, 0, 100, 100, 1, 1};
int bdflush_max[N_PARAM] = {100,5000, 2000, 2000,100, 60000, 60000, 2047, 5};

-static void wakeup_bdflush(int);
+void wakeup_bdflush(int);

/*
* Rewrote the wait-routines to use the "new" wait-queue functionality,
@@ -1663,7 +1663,7 @@
static struct wait_queue * bdflush_done = NULL;
struct task_struct *bdflush_tsk = 0;

-static void wakeup_bdflush(int wait)
+void wakeup_bdflush(int wait)
{
if (current == bdflush_tsk)
return;