Module Name: src
Committed By: skrll
Date: Sat Feb 4 16:33:27 UTC 2012
Modified Files:
src/sys/arch/hppa/include: cpufunc.h
Log Message:
G/C unused [fp]dcache_small.
OK riz@
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/hppa/include/cpufunc.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/hppa/include/cpufunc.h
diff -u src/sys/arch/hppa/include/cpufunc.h:1.14 src/sys/arch/hppa/include/cpufunc.h:1.15
--- src/sys/arch/hppa/include/cpufunc.h:1.14 Sun Nov 29 10:09:54 2009
+++ src/sys/arch/hppa/include/cpufunc.h Sat Feb 4 16:33:27 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: cpufunc.h,v 1.14 2009/11/29 10:09:54 skrll Exp $ */
+/* $NetBSD: cpufunc.h,v 1.15 2012/02/04 16:33:27 skrll Exp $ */
/* $OpenBSD: cpufunc.h,v 1.17 2000/05/15 17:22:40 mickey Exp $ */
@@ -187,36 +187,6 @@ hppa_hpa_t cpu_gethpa(int);
#define PCXL2_ACCEL_IO_ADDR2MASK(a) (0x8 >> ((((a) >> 25) - 2) & 3))
void eaio_l2(int);
-/*
- * These flush or purge the data cache for a item whose total
- * size is <= the size of a data cache line, however they don't
- * check this constraint.
- */
-static __inline void
-fdcache_small(pa_space_t sp, vaddr_t va, vsize_t size)
-{
- __asm volatile(
- " mtsp %0,%%sr1 \n"
- " fdc %%r0(%%sr1, %1) \n"
- " fdc %2(%%sr1, %1) \n"
- " sync \n"
- " syncdma \n"
- :
- : "r" (sp), "r" (va), "r" (size - 1));
-}
-static __inline void
-pdcache_small(pa_space_t sp, vaddr_t va, vsize_t size)
-{
- __asm volatile(
- " mtsp %0,%%sr1 \n"
- " pdc %%r0(%%sr1, %1) \n"
- " pdc %2(%%sr1, %1) \n"
- " sync \n"
- " syncdma \n"
- :
- : "r" (sp), "r" (va), "r" (size - 1));
-}
-
#endif /* _KERNEL */
#endif /* _HPPA_CPUFUNC_H_ */