Hi,
Some of the parport/paride drivers need this patch in order to compile
for Alpha with CONFIG_SMP and CONFIG_ALPHA_GENERIC:
--- kernel-source-2.2.15/include/asm-alpha/smp.h~ Sun Apr 23 17:21:46 2000
+++ kernel-source-2.2.15/include/asm-alpha/smp.h Sun Apr 23 18:01:15 2000
@@ -3,6 +3,7 @@
#ifdef __SMP__
+#include <linux/sched.h> /* for struct task_struct */
#include <linux/tasks.h>
#include <asm/init.h>
#include <asm/pal.h>
This is because they use udelay(), which uses smp_processor_id(),
which dereferences current. Anything else that uses
smp_processor_id() might potentially have the same problem.
Cheers
-- David Huggins-Daines, Senior GNU/Linux Consultant, Linuxcare, Inc. 613.223.0225 mobile dhd@linuxcare.com, http://www.linuxcare.com/ Linuxcare. Support for the revolution.- 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/
This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:08 EST