Update of /cvsroot/linux-vax/kernel-2.5/include/asm-vax
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9154
Modified Files:
mv.h
Log Message:
- Here's a is_vxt(). I now own a working VXT2000+, but it's still
serverely broken. But maybe we can resurrect that soon, especially
because there seems to be a working 2.4.x port.
Index: mv.h
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/mv.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- mv.h 30 Sep 2004 10:01:19 -0000 1.25
+++ mv.h 30 Sep 2004 19:59:05 -0000 1.26
@@ -154,6 +154,14 @@
#endif
}
+static inline int is_vxt(void) {
+#ifdef CONFIG_CPU_VXT
+ return mv == &mv_vxt;
+#else
+ return 0;
+#endif
+}
+
#endif /* !__ASSEMBLY__ */
#endif /* __VAX_MV_H_ */
|