Print this page
de-linting of .s files

@@ -21,15 +21,11 @@
 /*
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
-#if defined(lint)
-#include <sys/types.h>
-#else   /* lint */
 #include "assym.h"
-#endif  /* lint */
 
 #include <sys/asm_linkage.h>
 #include <sys/machthread.h>
 #include <sys/param.h>
 #include <sys/vm_machparam.h>

@@ -37,37 +33,24 @@
 #include <sys/intreg.h>
 #include <sys/vis.h>
 #include <sys/clock.h>
 #include <vm/hat_sfmmu.h>       
 
-#if !defined(lint)
         .weak   cpu_feature_init
         .type   cpu_feature_init, #function
-#endif  /* lint */
 
-#if !defined(lint)
         .weak   cpu_early_feature_init
         .type   cpu_early_feature_init, #function
-#endif  /* lint */
 
 /*
  * Processor initialization
  *
  * This is the kernel entry point for other cpus except the first one.
  * When the prom jumps to this location we are still executing with the
  * prom's trap table.  It expects the cpuid as its first parameter.
  */
 
-#if defined(lint)
-
-/* ARGSUSED */
-void
-cpu_startup(int cpuid)
-{}
-
-#else   /* lint */
-
         ! allocate a temporary stack to run on while we figure who and
         ! what we are.
         .seg    ".data"
         .align  8
 etmpstk:

@@ -152,6 +135,5 @@
         ldn     [THREAD_REG + T_SP], %fp
         ret                             ! "return" into the thread
         restore                         ! WILL cause underflow
         SET_SIZE(cpu_startup)
 
-#endif  /* lint */