Print this page
de-linting of .s files

@@ -22,12 +22,10 @@
 /*
  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #include <sys/param.h>
 #include <sys/errno.h>
 #include <sys/asm_linkage.h>
 #include <sys/vtrace.h>
 #include <sys/machthread.h>

@@ -34,13 +32,11 @@
 #include <sys/clock.h>
 #include <sys/asi.h>
 #include <sys/fsr.h>
 #include <sys/privregs.h>
 
-#if !defined(lint)
 #include "assym.h"
-#endif  /* lint */
 
 #define FP_USED 1
 #define LOFAULT_SET 2
 
 /*

@@ -58,24 +54,10 @@
  * Zero a block of storage.
  *
  * uzero is used by the kernel to zero a block in user address space.
  */
 
-#if defined(lint)
-
-/* ARGSUSED */
-int
-kzero(void *addr, size_t count)
-{ return(0); }
-
-/* ARGSUSED */
-void
-uzero(void *addr, size_t count)
-{}
-
-#else   /* lint */
-
         ENTRY(uzero)
         !
         ! Set a new lo_fault handler only if we came in with one
         ! already specified.
         !

@@ -152,25 +134,14 @@
         jmp     %o5                     ! goto real handler
           nop
         SET_SIZE(kzero)
         SET_SIZE(uzero)
 
-#endif  /* lint */
-
 /*
  * Zero a block of storage.
  */
 
-#if defined(lint)
-
-/* ARGSUSED */
-void
-bzero(void *addr, size_t count)
-{}
-
-#else   /* lint */
-
         ENTRY(bzero)
         wr      %g0, ASI_P, %asi
 
         ldn     [THREAD_REG + T_LOFAULT], %o5   ! save old vector
         tst     %o5

@@ -472,6 +443,5 @@
 1:
         retl
         clr     %o0                     ! return (0)
 
         SET_SIZE(bzero)
-#endif  /* lint */