Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/include Move xscale cpu_cpwait back from cpufun...
details: https://anonhg.NetBSD.org/src/rev/51e35515a65c
branches: trunk
changeset: 328813:51e35515a65c
user: matt <matt%NetBSD.org@localhost>
date: Sat Apr 19 00:33:24 2014 +0000
description:
Move xscale cpu_cpwait back from cpufunc_proto.ht to cpufunc.h
diffstat:
sys/arch/arm/include/cpufunc.h | 5 +++++
sys/arch/arm/include/cpufunc_proto.h | 1 -
2 files changed, 5 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r bb12c1206300 -r 51e35515a65c sys/arch/arm/include/cpufunc.h
--- a/sys/arch/arm/include/cpufunc.h Sat Apr 19 00:04:12 2014 +0000
+++ b/sys/arch/arm/include/cpufunc.h Sat Apr 19 00:33:24 2014 +0000
@@ -233,6 +233,11 @@
#define setttb cpu_setttb
#define drain_writebuf cpu_drain_writebuf
+
+#if defined(CPU_XSCALE)
+#define cpu_cpwait() cpufuncs.cf_cpwait()
+#endif
+
#ifndef cpu_cpwait
#define cpu_cpwait()
#endif
diff -r bb12c1206300 -r 51e35515a65c sys/arch/arm/include/cpufunc_proto.h
--- a/sys/arch/arm/include/cpufunc_proto.h Sat Apr 19 00:04:12 2014 +0000
+++ b/sys/arch/arm/include/cpufunc_proto.h Sat Apr 19 00:33:24 2014 +0000
@@ -385,7 +385,6 @@
#if defined(CPU_XSCALE)
void xscale_cpwait (void);
-#define cpu_cpwait() cpufuncs.cf_cpwait()
void xscale_cpu_sleep (int);
Home |
Main Index |
Thread Index |
Old Index