Print this page
restore sparc comments
de-linting of .s files

@@ -21,15 +21,11 @@
 /*
  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
-#if !defined(lint)
 #include "assym.h"
-#endif
 
 /*
  * Niagara processor specific assembly routines
  */
 

@@ -40,23 +36,10 @@
 #include <sys/niagararegs.h>
 #include <sys/machasi.h>
 #include <sys/niagaraasi.h>
 #include <vm/hat_sfmmu.h>
 
-#if defined(lint)
-/*ARGSUSED*/
-uint64_t
-hv_niagara_getperf(uint64_t perfreg, uint64_t *datap)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niagara_setperf(uint64_t perfreg, uint64_t data)
-{ return (0); }
-
-#else   /* lint */
-
         /*
          * hv_niagara_getperf(uint64_t perfreg, uint64_t *datap)
          */
         ENTRY(hv_niagara_getperf)
         mov     %o1, %o4                        ! save datap

@@ -77,13 +60,10 @@
         ta      FAST_TRAP
         retl
         nop
         SET_SIZE(hv_niagara_setperf)
 
-#endif /* !lint */
-
-#if defined (lint)
 /*
  * Invalidate all of the entries within the TSB, by setting the inv bit
  * in the tte_tag field of each tsbe.
  *
  * We take advantage of the fact that the TSBs are page aligned and a

@@ -91,17 +71,10 @@
  *
  * See TSB_LOCK_ENTRY and the miss handlers for how this works in practice
  * (in short, we set all bits in the upper word of the tag, and we give the
  * invalid bit precedence over other tag bits in both places).
  */
-/*ARGSUSED*/
-void
-cpu_inv_tsb(caddr_t tsb_base, uint_t tsb_bytes)
-{}
-
-#else /* lint */
-
         ENTRY(cpu_inv_tsb)
 
         /*
          * The following code assumes that the tsb_base (%o0) is 256 bytes
          * aligned and the tsb_bytes count is multiple of 256 bytes.

@@ -139,25 +112,11 @@
         membar  #Sync
         retl
         nop
 
         SET_SIZE(cpu_inv_tsb)
-#endif /* lint */
 
-#if defined(lint)
-/*ARGSUSED*/
-uint64_t
-hv_niagara_mmustat_conf(uint64_t buf, uint64_t *prev_buf)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niagara_mmustat_info(uint64_t *buf)
-{ return (0); }
-
-#else   /* lint */
-
         /*
          * hv_niagara_mmustat_conf(uint64_t buf, uint64_t *prev_buf)
          */
         ENTRY(hv_niagara_mmustat_conf)
         mov     %o1, %o4                        ! save prev_buf

@@ -176,6 +135,5 @@
         ta      FAST_TRAP
         retl
         stx     %o1, [%o4]
         SET_SIZE(hv_niagara_mmustat_info)
 
-#endif /* !lint */