Author: blueswirl Date: 2007-06-10 17:56:42 +0200 (Sun, 10 Jun 2007) New Revision: 151
Modified: openbios-devel/arch/sparc32/romvec.c Log: Fix obp_dumb_memalloc
Modified: openbios-devel/arch/sparc32/romvec.c =================================================================== --- openbios-devel/arch/sparc32/romvec.c 2007-05-27 19:49:35 UTC (rev 150) +++ openbios-devel/arch/sparc32/romvec.c 2007-06-10 15:56:42 UTC (rev 151) @@ -316,8 +316,8 @@ return ret; }
-static char *obp_dumb_mmap(char *va, __attribute__((unused)) int which_io, - unsigned int pa, unsigned int size) +static char *obp_dumb_mmap(char *va, int which_io, unsigned int pa, + unsigned int size) { unsigned int npages; unsigned int off; @@ -432,7 +432,7 @@ DPRINTF("obp_dumb_memalloc req null -> 0x%x\n", va); }
- obp_dumb_mmap(va, 1, free_ram, size); + obp_dumb_mmap(va, 0, free_ram, size);
return va; }