Print this page
de-linting of .s files

@@ -22,18 +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>
-#include <sys/cpuvar.h>
-#else   /*lint */
 #include "assym.h"
-#endif  /* lint */
 
 #include <sys/param.h>
 #include <sys/asm_linkage.h>
 #include <sys/errno.h>
 #include <sys/intreg.h>

@@ -48,34 +41,20 @@
 #ifdef TRAPTRACE
 #include <sys/traptrace.h>
 #endif /* TRAPTRACE */
 
 
-#if defined(lint)
-
-/* ARGSUSED */
-void
-send_self_xcall(struct cpu *cpu, uint64_t arg1, uint64_t arg2, xcfunc_t *func)
-{}
-
-#else
 /*
  * For a x-trap request to the same processor, just send a fast trap.
  * Does not accept inums.
  */
         ENTRY_NP(send_self_xcall)
         ta       ST_SELFXCALL
         retl
         nop
         SET_SIZE(send_self_xcall)
-#endif  /* lint */
 
-#if defined(lint)
-void
-idle_stop_xcall(void)
-{}
-#else
 /*
  * idle or stop xcall handler.
  *
  * Called in response to an xt_some initiated by idle_other_cpus
  * and stop_other_cpus.

@@ -96,8 +75,6 @@
         rdpr    %pil, %g4
         cmp     %g4, XCALL_PIL
         ba,pt   %xcc, sys_trap
           movl  %xcc, XCALL_PIL, %g4
         SET_SIZE(idle_stop_xcall)
-
-#endif  /* lint */