2.2.0 breaks udelay in sb_ess.c for alpha machines

Christian Iseli (chris@ludwig-alpha.unil.ch)
Fri, 29 Jan 1999 15:04:11 +0100


Hi folks,

In the patch-2.2.0-final, #include <linux/delay.h> was removed from sb_ess.c

Problem is: sb_ess.c uses udelay, and udelay is a macro on alpha machines, so
the sound module can't load, because of undefined symbols (dunno what happens
when it gets compiled in the kernel).

The little patch below restores the include.

Cheers,
Christian

----

--- linux/drivers/sound/sb_ess.c.CI Thu Jan 28 11:35:23 1999
+++ linux/drivers/sound/sb_ess.c Thu Jan 28 11:36:21 1999
@@ -156,6 +156,8 @@
* ES1946 yes This is a PCI chip; not handled by this driver
*/

+#include <linux/delay.h>
+
#include "sound_config.h"
#include "sb_mixer.h"
#include "sb.h"

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