Re: 2.6.0-test9-mm5 : compile error

From: Remi Colinet
Date: Sat Nov 22 2003 - 13:06:24 EST


Zwane Mwaikambo wrote:

On Sat, 22 Nov 2003, Remi Colinet wrote:



Index: linux-2.6.0-test9-mm5/arch/i386/kernel/process.c
===================================================================
RCS file: /build/cvsroot/linux-2.6.0-test9-mm5/arch/i386/kernel/process.c,v
retrieving revision 1.1.1.1
diff -u -p -B -r1.1.1.1 process.c
--- linux-2.6.0-test9-mm5/arch/i386/kernel/process.c 21 Nov 2003 20:59:15 -0000 1.1.1.1
+++ linux-2.6.0-test9-mm5/arch/i386/kernel/process.c 21 Nov 2003 22:20:00 -0000
@@ -50,6 +50,7 @@
#include <asm/desc.h>
#include <asm/tlbflush.h>
#include <asm/cpu.h>
+#include <asm/atomic_kmap.h>
#ifdef CONFIG_MATH_EMULATION
#include <asm/math_emu.h>
#endif


Just a point : in the file arch/i383/process.c, I added the following lines.

#include <asm/tlbflush.h>
#include <asm/cpu.h>



That was already in there.



My original processs.c file seems to be a little be bit different from yours (?).
The following line was already in the process.c file.

+#include <asm/atomic_kmap.h>



Hmm that's strange, can you verify your tree and i'll do the same. There are two discrepancies.
-

I have dowloaded linux-2.6.0-test9.tar.bz2 and 2.6.0-test9-mm5.bz2. Here is the begining of my arch/i386/kernel/process.c file after applying the mm patch :

40
41 #include <asm/uaccess.h>
42 #include <asm/pgtable.h>
43 #include <asm/system.h>
44 #include <asm/io.h>
45 #include <asm/ldt.h>
46 #include <asm/processor.h>
47 #include <asm/i387.h>
48 #include <asm/irq.h>
49 #include <asm/desc.h>
50 #include <asm/atomic_kmap.h>
51 #ifdef CONFIG_MATH_EMULATION
52 #include <asm/math_emu.h>
53 #endif
54
55 #include <linux/irq.h>
56 #include <linux/err.h>
57

The following line

#include <asm/atomic_kmap.h>

is in 2.6.0-test9-mm5 and not in 2.6.0-test9[-bk25]

These following lines are neither in bk or mm trees.

#include <asm/tlbflush.h>
#include <asm/cpu.h>

Remi

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