Skip to contentSkip to conversation

Unable to compile 2.6.17.11 IA64 kernel

PATCH Christian Cotte-Barrot 1 participant 1 message Aug 25, 2006

lore
Share & tools
lore
#0 lore raw

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

Signature · 9 lines
+===========+=======================+==================================+
|  |\/\/\/| |                       |                                  |
|  |      | |Christian Cotte-Barrot |org.  :BULL/                      |
|  | (~)(o) |Bull S.A.              |office:FREC/B1-401                |
| C      _) |1, rue de Provence     |mailto:                           |
|  | ,___|  |B.P. 208               |   [email protected]|
|  |   /    |38432 ECHIROLLES CEDEX |phone :+33 (0)476297725 (229 7725)|
| /----\    |FRANCE                 |fax   :+33 (0)476297518 (229 7518)|
+===========+=======================+==================================+
include/asm-ia64/mman.h +2 -0
@@ -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>