Re: nvidia-kernel-1.0.4496 fails to compile with wolk-4.9

Marc-Christian Petersen <[email protected]>
Newsgroups gmane.linux.wolk.devel
Organization Working Overloaded Linux Kernel
Message-ID <[email protected]>
On Friday 29 August 2003 21:33, Florian Löding wrote:

Hi Florian,

> -DREMAP_PAGE_RANGE_4  -I. -I/usr/src/linux/include -Wno-cast-qual nv.c
> nv.c: In function `nv_find_kernel_mapping':
> nv.c:2140: error: `vmalloc_reserve' undeclared (first use in this function)
> nv.c:2140: error: (Each undeclared identifier is reported only once
> nv.c:2140: error: for each function it appears in.)
> make: *** [nv.o] Fehler 1
> the output i got. gcc-3.3.1, glibc-2.3.2, but nvidia-kernel compiled with
> wolk-4.8.

grmpf :) ... Ok, does attached patch make any difference? Please report back.

ciao, Marc
vmalloc-reserve-fix.patch (text/x-diff, 554 B)
--- old/include/asm-i386/page.h	2003-08-27 16:40:42.000000000 +0200
+++ wolk4/include/asm-i386/page.h	2003-08-29 22:49:23.000000000 +0200
@@ -137,6 +137,7 @@ static __inline__ int get_order(unsigned
 #endif /* __ASSEMBLY__ */
 
 #define PAGE_OFFSET		((unsigned long)__PAGE_OFFSET)
+#define VMALLOC_RESERVE		((unsigned long)__VMALLOC_RESERVE_DEFAULT)
 #define KERNEL_MEMORY		((unsigned long)(FIXADDR_START - __PAGE_OFFSET))
 #define RESERVED_AREA		((unsigned long)__RESERVED_AREA) 
 #define KERNEL_MAXMEM		((unsigned long)(KERNEL_MEMORY - RESERVED_AREA))
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.