The file arch/sparc/mm/sun4c.c gives:
sun4c.c: In function `sun4c_check_pgt_cache':
sun4c.c:2364: warning: implicit declaration of function `sun4c_free_pmd_slow'
sun4c.c:2364: warning: implicit declaration of function `sun4c_get_pmd_fast'
I can't find them anywhere (bitrot, should be axed?)
Also, arch/sparc/mm/srmmu.c gives trouble. For consistency, I defined the
sizes as unsigned long's (at least SRMMU_NOCACHE_SIZE turns out to be
unsigned long):
--- linux-2.4.0-test/arch/sparc/mm/srmmu.c.dist-2.4.0-test3-pre2 Thu Jun 22 10:21:12 2000
+++ linux-2.4.0-test/arch/sparc/mm/srmmu.c Fri Jun 30 16:35:01 2000
@@ -125,7 +125,7 @@
void *srmmu_nocache_pool;
void *srmmu_nocache_bitmap;
int srmmu_nocache_low;
-int srmmu_nocache_used;
+unsigned long srmmu_nocache_used;
spinlock_t srmmu_nocache_spinlock;
/* This makes sense. Honest it does - Anton */
@@ -1127,8 +1127,6 @@
}
}
-static unsigned long end_of_phys_memory __initdata = 0;
-
#define KERNEL_PTE(page_shifted) ((page_shifted)|SRMMU_CACHE|SRMMU_PRIV|SRMMU_VALID)
/* Create a third-level SRMMU 16MB page mapping. */
@@ -1268,8 +1266,8 @@
return sprintf(buf,
"MMU type\t: %s\n"
"contexts\t: %d\n"
- "nocache total\t: %d\n"
- "nocache used\t: %d\n"
+ "nocache total\t: %lu\n"
+ "nocache used\t: %lu\n"
, srmmu_name,
num_contexts,
SRMMU_NOCACHE_SIZE,
-- Dr. Horst H. von Brand mailto:vonbrand@inf.utfsm.cl Departamento de Informatica Fono: +56 32 654431 Universidad Tecnica Federico Santa Maria +56 32 654239 Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513- 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 : Fri Jun 30 2000 - 17:18:21 EDT