Re: 2.4.0-test6-pre9 doesn't build on SPARC

From: Anton Blanchard (anton@linuxcare.com)
Date: Wed Aug 09 2000 - 18:04:24 EST


 
Hi,

> kgcc -D__KERNEL__ -I/usr/src/linux-2.4.0-test/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7 -fno-strict-aliasing -c -o init.o init.c
> init.c: In function `kmap_init':
> init.c:92: warning: unused variable `pteval'
> init.c: In function `mem_init':
> init.c:460: `highmem_mapnr' undeclared (first use in this function)
> init.c:460: (Each undeclared identifier is reported only once
> init.c:460: for each function it appears in.)
> init.c: In function `flush_page_to_ram':
> init.c:588: warning: passing arg 1 of `___f___flush_page_to_ram' makes integer from pointer without a cast
> make[2]: *** [init.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.4.0-test/arch/sparc/mm'

Fix is in CVS.

Anton

--- linux/arch/sparc/mm/init.c Wed Aug 9 15:57:50 2000
+++ linux_sparc32/arch/sparc/mm/init.c Wed Aug 9 16:10:19 2000
@@ -456,8 +456,6 @@
 #endif
 
         highmem_start_page = mem_map + highstart_pfn;
- /* cache the highmem_mapnr */
- highmem_mapnr = highstart_pfn;
 
         /* Saves us work later. */
         memset((void *)&empty_zero_page, 0, PAGE_SIZE);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:19 EST