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/mmu.h>

@@ -40,18 +35,10 @@
 #ifdef TRAPTRACE
 #include <sys/traptrace.h>
 #endif /* TRAPTRACE */
 
 
-#if defined(lint)
-
-void
-vec_interrupt(void)
-{}
-
-#else   /* lint */
-
 vec_uiii_irdr_tab:
         .byte   UIII_IRDR_0, UIII_IRDR_1, UIII_IRDR_2, UIII_IRDR_3
         .byte   UIII_IRDR_4, UIII_IRDR_5, UIII_IRDR_6, UIII_IRDR_7
 
 /*

@@ -270,20 +257,10 @@
 3:      
         stxa    %g0, [%g0]ASI_INTR_RECEIVE_STATUS ! clear the busy bit
         retry
         SET_SIZE(dmv_vector)
 
-#endif  /* lint */
-
-#if defined(lint)
-
-void
-vec_intr_spurious(void)
-{}
-
-#else   /* lint */
-
         DGDEF(vec_spurious_cnt)
         .word   0
 
         ENTRY_NP(vec_intr_spurious)
         sethi   %hi(vec_spurious_cnt), %g2

@@ -338,6 +315,5 @@
         retry
         SET_SIZE(vec_intr_spurious)
 
 _not_ready:     .asciz  "Interrupt Vector Receive Register not READY"
 
-#endif  /* lint */