Print this page
de-linting of .s files

@@ -26,15 +26,11 @@
 /*
  * SFMMU primitives.  These primitives should only be used by sfmmu
  * routines.
  */
 
-#if defined(lint)
-#include <sys/types.h>
-#else   /* lint */
 #include "assym.h"
-#endif  /* lint */
 
 #include <sys/asm_linkage.h>
 #include <sys/machtrap.h>
 #include <sys/machasi.h>
 #include <sys/sun4asi.h>

@@ -52,38 +48,10 @@
 
 /*
  * sfmmu related subroutines
  */
 
-#if defined (lint)
-
-/* ARGSUSED */
-void
-sfmmu_raise_tsb_exception(uint64_t sfmmup, uint64_t rctx)
-{}
-
-int
-sfmmu_getctx_pri()
-{ return(0); }
-
-int
-sfmmu_getctx_sec()
-{ return(0); }
-
-/* ARGSUSED */
-void
-sfmmu_setctx_sec(uint_t ctx)
-{}
-
-/* ARGSUSED */
-void
-sfmmu_load_mmustate(sfmmu_t *sfmmup)
-{
-}
-
-#else   /* lint */
-
 /*
  * Invalidate either the context of a specific victim or any process
  * currently running on this CPU. 
  *
  * %g1 = sfmmup whose ctx is being stolen (victim)

@@ -428,33 +396,14 @@
         call    panic                                                 
           or      %o0, %lo(sfmmu_panic10), %o0                         
 
         SET_SIZE(sfmmu_load_mmustate)
         
-#endif /* lint */
-
-#if defined(lint)
-
-/* Prefetch "struct tsbe" while walking TSBs */
-/*ARGSUSED*/
-void
-prefetch_tsbe_read(struct tsbe *tsbep)
-{}
-
-/* Prefetch the tsbe that we are about to write */
-/*ARGSUSED*/
-void
-prefetch_tsbe_write(struct tsbe *tsbep)
-{}
-
-#else /* lint */
-
         ENTRY(prefetch_tsbe_read)
         retl
         nop
         SET_SIZE(prefetch_tsbe_read)
 
         ENTRY(prefetch_tsbe_write)
         retl
         nop
         SET_SIZE(prefetch_tsbe_write)
-#endif /* lint */