Update of /cvsroot/linux-vax/kernel-2.5/include/asm-vax
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12905
Modified Files:
mv.h
Log Message:
- Experimental machine vectors. Don't yet build on them...
- I'm currently cleaning up my tree to go the GIT way later on :-)
Index: mv.h
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/mv.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- mv.h 4 May 2005 22:22:50 -0000 1.33
+++ mv.h 3 Oct 2005 12:05:15 -0000 1.34
@@ -58,11 +58,13 @@
#ifndef __ASSEMBLY__
extern struct vax_mv *mv; /* Points to the applicable MV */
-extern struct vax_mv mv_ka42; /* All others may be available, or not */
+extern struct vax_mv mv_ka41; /* All others may be available, or not */
+extern struct vax_mv mv_ka42;
extern struct vax_mv mv_ka43;
extern struct vax_mv mv_ka46;
extern struct vax_mv mv_ka48;
extern struct vax_mv mv_ka49;
+extern struct vax_mv mv_ka52;
extern struct vax_mv mv_ka55;
extern struct vax_mv mv_ka410;
extern struct vax_mv mv_ka630;
@@ -114,6 +116,14 @@
* FIXME: These should be removed eventually after there's no more code
* which needs to know exact CPU type.
*/
+static inline int is_ka41(void) {
+#ifdef CONFIG_CPU_KA41
+ return mv == &mv_ka41;
+#else
+ return 0;
+#endif
+}
+
static inline int is_ka42(void) {
#ifdef CONFIG_CPU_KA42
return mv == &mv_ka42;
@@ -138,6 +148,14 @@
#endif
}
+static inline int is_ka52(void) {
+#ifdef CONFIG_CPU_KA52
+ return mv == &mv_ka52;
+#else
+ return 0;
+#endif
+}
+
static inline int is_ka55(void) {
#ifdef CONFIG_CPU_KA55
return mv == &mv_ka55;
|