Print this page
de-linting of .s files

@@ -22,17 +22,11 @@
 /*
  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
-#if defined(lint)
-#include <sys/types.h>
-#else
 #include "assym.h"
-#endif /* lint */
 
 #include <sys/asm_linkage.h>
 #include <sys/param.h>
 #include <sys/privregs.h>
 #include <sys/machasi.h>

@@ -47,28 +41,10 @@
 #include <sys/clock.h>
 #include <sys/asi.h>
 #include <sys/fsr.h>
 #include <sys/cheetahregs.h>
 
-#if defined(lint)
-
-/* ARGSUSED */
-uint64_t
-lddmcdecode(uint64_t physaddr)
-{
-        return (0x0ull);
-}
-
-/* ARGSUSED */
-uint64_t
-lddsafaddr(uint64_t physaddr)
-{
-        return (0x0ull);
-}
-
-#else /* !lint */
-
 !
 ! Load the safari address for a specific cpu
 !
 !
         ENTRY(lddsafaddr)

@@ -113,6 +89,5 @@
 #endif
         retl
         wrpr    %g0, %o4, %pstate       ! restore earlier pstate register value
         SET_SIZE(lddmcdecode)
 
-#endif /* lint */