[PATCH 519] Sun 3: Fix modular XFS by exporting vmalloc_end

From: Geert Uytterhoeven (geert_at_linux-m68k.org)
Date: 10/31/04

  • Next message: Geert Uytterhoeven: "[PATCH 514] M68k: Add defconfig for Q40 and Q60"
    Date:	Sun, 31 Oct 2004 11:03:46 +0100
    To: Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>
    
    

    Sun 3: Fix modular XFS by exporting vmalloc_end

    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

    --- linux-2.6.10-rc1/arch/m68k/sun3/mmu_emu.c 2004-05-24 11:13:22.000000000 +0200
    +++ linux-m68k-2.6.10-rc1/arch/m68k/sun3/mmu_emu.c 2004-10-28 21:18:57.000000000 +0200
    @@ -13,6 +13,7 @@
     #include <linux/delay.h>
     #include <linux/bootmem.h>
     #include <linux/bitops.h>
    +#include <linux/module.h>
     
     #include <asm/setup.h>
     #include <asm/traps.h>
    @@ -46,6 +47,8 @@ extern void prom_reboot (char *) __attri
     */
     
     unsigned long vmalloc_end;
    +EXPORT_SYMBOL(vmalloc_end);
    +
     unsigned long pmeg_vaddr[PMEGS_NUM];
     unsigned char pmeg_alloc[PMEGS_NUM];
     unsigned char pmeg_ctx[PMEGS_NUM];

    Gr{oetje,eeting}s,

                                                    Geert

    --
    Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
    In personal conversations with technical people, I call myself a hacker. But
    when I'm talking to journalists I just say "programmer" or something like that.
    							    -- Linus Torvalds
    -
    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/
    

  • Next message: Geert Uytterhoeven: "[PATCH 514] M68k: Add defconfig for Q40 and Q60"

    Relevant Pages