lkml.org 
[lkml]   [2000]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.4.0-test6-pre9 doesn't build on SPARC

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/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.032 / U:1.924 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site