Print this page
de-linting of .s files

@@ -22,12 +22,10 @@
 /*
  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #include <sys/asm_linkage.h>
 #include <sys/hypervisor.h>
 #include <sys/privregs.h>
 #include <sys/segments.h>
 #include <sys/traptrace.h>

@@ -35,35 +33,12 @@
 #include <sys/psw.h>
 #include <sys/x86_archext.h>
 #include <sys/asm_misc.h>
 #include <sys/panic.h>
 
-#if !defined(__lint)
 #include "assym.h"
-#endif
 
-#if defined(__lint)
-
-void
-xpv_panic_callback(void)
-{}
-
-/* ARGSUSED */
-void
-xpv_panic_setcr3(ulong_t cr3)
-{}
-
-void
-xpv_panic_reload_cr3(void)
-{}
-
-void
-xpv_resetgs(void)
-{}
-
-#else   /* __lint */
-
 #if defined(__amd64)
         ENTRY_NP(xpv_panic_getcr3)
         movq    %cr3, %rax
         ret
         SET_SIZE(xpv_panic_getcr3)

@@ -390,6 +365,5 @@
         push    $0
         push    $T_SIMDFPE
         jmp     xpv_panic_prep
         SET_SIZE(xpv_xmtrap)
 
-#endif  /* __lint */