Unable to compile 2.6.17.11 IA64 kernel

Christian Cotte-Barrot
2006-08-25T13:14:20Z

[-- Attachment #1: Type: text/plain, Size: 963 bytes --]

include/asm/mman.h: Assembler messages:
include/asm/mman.h:13: Error: Unknown opcode `int ia64_map_check_rgn(unsigned long addr,unsigned
long len,'
include/asm/mman.h:14: Error: Unknown opcode `unsigned long flags)'
make[1]: *** [arch/ia64/kernel/entry.o] Error 1
make: *** [arch/ia64/kernel] Error 2

--
+===========+=======================+==================================+
| |\/\/\/| | | |
| | | |Christian Cotte-Barrot |org. :BULL/ |
| | (~)(o) |Bull S.A. |office:FREC/B1-401 |
| C _) |1, rue de Provence |mailto: |
| | ,___| |B.P. 208 | Christian.Cotte-Barrot@bull.net|
| | / |38432 ECHIROLLES CEDEX |phone :+33 (0)476297725 (229 7725)|
| /----\ |FRANCE |fax :+33 (0)476297518 (229 7518)|
+===========+=======================+==================================+

[-- Attachment #2: kernelorg-mman.h.patch --]
[-- Type: text/plain, Size: 436 bytes --]

--- linux-2.6.17.11.ref/include/asm-ia64/mman.h 2006-08-23 23:16:33.000000000 +0200
+++ linux-2.6.17.11/include/asm-ia64/mman.h 2006-08-25 14:52:49.000000000 +0200
@@ -9,9 +9,11 @@
*/

#ifdef __KERNEL__
+#if !defined(__ASSEMBLY__)
#define arch_mmap_check ia64_map_check_rgn
int ia64_map_check_rgn(unsigned long addr, unsigned long len,
unsigned long flags);
+#endif /* !__ASSEMBLY__ */
#endif

#include <asm-generic/mman.h>