On Thu, 19 Sep 2002, Alan Cox wrote:
>...
> Linux 2.4.20-pre7-ac3
>...
> o Interrupt.h needs asm/system for smb_mb (Dominik Brodowski)
>...
The following part of his patches is also needed in order to compile
cpufreq.c:
--- include/asm-i386/hw_irq.h.old 2002-09-20 09:25:37.000000000 +0200
+++ include/asm-i386/hw_irq.h 2002-09-19 19:52:25.000000000 +0200
@@ -13,8 +13,10 @@
*/
#include <linux/config.h>
+#include <linux/smp_lock.h>
#include <asm/atomic.h>
#include <asm/irq.h>
+#include <asm/current.h>
/*
* IDT vectors usable for external interrupt sources start
With this patch applied I got a compile error in ieee1394_core.c because
asm-i386/smplock.h was included twice. It seems the following is needed,
too:
--- include/asm-i386/smplock.h.old 2002-09-19 20:53:57.000000000 +0200
+++ include/asm-i386/smplock.h 2002-09-19 20:54:46.000000000 +0200
@@ -1,3 +1,6 @@
+#ifndef __ASM_SMPLOCK_H
+#define __ASM_SMPLOCK_H
+
/*
* <asm/smplock.h>
*
@@ -74,3 +77,5 @@
"=m" (current->lock_depth));
#endif
}
+
+#endif /* __ASM_SMPLOCK_H */
cu
Adrian
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:30 EST