[lkml]   [2006]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH] Linux - fix compilation error on IA64
    The commit 8833ebaa3f4325820fe3338ccf6fae04f6669254 introduced a change that makes
    the compilation of a IA64 kernel fail as follows:

    GEN usr/initramfs_data.cpio.gz
    AS usr/initramfs_data.o
    LD usr/built-in.o
    CC arch/ia64/kernel/acpi.o
    AS arch/ia64/kernel/entry.o
    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

    This patch fixes this.

    Signed-off-by: Fernando Vazquez <>

    diff -urNp linux- linux-
    --- linux- 2006-08-24 10:29:56.000000000 +0900
    +++ linux- 2006-08-24 10:33:13.000000000 +0900
    @@ -8,7 +8,7 @@
    * David Mosberger-Tang <>, Hewlett-Packard Co

    -#ifdef __KERNEL__
    +#ifndef __ASSEMBLY__
    #define arch_mmap_check ia64_map_check_rgn
    int ia64_map_check_rgn(unsigned long addr, unsigned long len,
    unsigned long flags);

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-08-24 03:43    [W:0.022 / U:92.400 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site