Print this page
de-linting of .s files

@@ -21,16 +21,11 @@
 /*
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
-#if defined(lint)
-#include <sys/types.h>
-#include <sys/thread.h>
-#else   /* lint */
 #include "assym.h"
-#endif  /* lint */
 
 #include <sys/asm_linkage.h>
 #include <sys/machthread.h>
 #include <sys/machcpuvar.h>
 #include <sys/intreg.h>

@@ -45,19 +40,11 @@
 
 #ifdef TRAPTRACE
 #include <sys/traptrace.h>
 #endif /* TRAPTRACE */
 
-#if defined(lint)
 
-void
-cpu_mondo(void)
-{}
-
-#else   /* lint */
-
-
 /*
  * (TT 0x7c, TL>0) CPU Mondo Queue Handler
  *      Globals are the Interrupt Globals.
  */
         ENTRY_NP(cpu_mondo)

@@ -193,21 +180,11 @@
 3:
         retry
         /* Never Reached */
         SET_SIZE(cpu_mondo)
 
-#endif /* lint */
 
-#if defined(lint)
-
-void
-dev_mondo(void)
-{}
-
-#else   /* lint */
-
-
 /*
  * (TT 0x7d, TL>0) Dev Mondo Queue Handler
  *      Globals are the Interrupt Globals.
  * We only process one interrupt at a time causing us to keep
  * taking this trap till the queue is empty.

@@ -342,33 +319,20 @@
 
 0:      retry 
 
         /* Never Reached */
         SET_SIZE(dev_mondo)
-#endif /* lint */
 
-#if defined(lint)
-uint64_t cpu_mondo_inval;
-#else /* lint */
         .seg    ".data"
         .global cpu_mondo_inval
         .align  8
 cpu_mondo_inval:
         .skip   8
 
         .seg    ".text"
-#endif  /* lint */
 
 
-#if defined(lint)
-
-void
-resumable_error(void)
-{}
-
-#else   /* lint */
-
 /*
  * (TT 0x7e, TL>0) Resumeable Error Queue Handler
  *      We keep a shadow copy of the queue in kernel buf.
  *      Read the resumable queue head and tail offset
  *      If there are entries on the queue, move them to

@@ -480,20 +444,11 @@
 
 0:      retry
 
         /*NOTREACHED*/
         SET_SIZE(resumable_error)
-#endif /* lint */
 
-#if defined(lint)
-
-void
-nonresumable_error(void)
-{}
-
-#else   /* lint */
-
 /*
  * (TT 0x7f, TL>0) Non-resumeable Error Queue Handler
  *      We keep a shadow copy of the queue in kernel buf.
  *      Read non-resumable queue head and tail offset
  *      If there are entries on the queue, move them to

@@ -661,6 +616,5 @@
 
 0:      retry
 
         /*NOTREACHED*/
         SET_SIZE(nonresumable_error)
-#endif /* lint */