Re: [PATCH] __VMALLOC_RESERVE export

From: Tonnerre
Date: Mon Sep 27 2004 - 15:00:06 EST


Salut,

On Tue, Sep 28, 2004 at 03:03:43AM +1000, Antony Suter wrote:
> __VMALLOC_RESERVE itself is not exported but is used by something that
> is. This patch is against 2.6.9-rc2-bk11
>
> This is required by the nvidia binary driver 1.0.6111
>
> (2 long lines are being wrapped by my emailer)

ACK. I did the same thing at some friend's computer which is running
with it since the __VMALLOC_RESERVE patch came out, so it's The Right
Thing[tm].

Signed-off-by: Tonnerre <tonnerre@xxxxxxxxxxx>

> diff -u -pruaN linux-orig/arch/i386/mm/init.c
> linux-new/arch/i386/mm/init.c
> --- linux-orig/arch/i386/mm/init.c 2004-09-26 03:43:57.944613000 +1000
> +++ linux-new/arch/i386/mm/init.c 2004-09-28 02:37:21.787922000 +1000
> @@ -41,6 +41,7 @@
> #include <asm/sections.h>
>
> unsigned int __VMALLOC_RESERVE = 128 << 20;
> +EXPORT_SYMBOL(__VMALLOC_RESERVE);
>
> DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
> unsigned long highstart_pfn, highend_pfn;
>
> --
> - Antony Suter (suterant users sourceforge net) "Bonta"
> - "Facts do not cease to exist because they are ignored." - Aldous Huxley


Attachment: signature.asc
Description: Digital signature