Print this page
de-linting of .s files
@@ -22,14 +22,12 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#if !defined(lint)
#include <sys/asm_linkage.h>
#include "assym.h"
-#endif
#include <sys/sun4asi.h>
#include <sys/machparam.h>
#include <vm/hat_sfmmu.h>
@@ -248,25 +246,10 @@
*
* return (0);
* }
*/
-#if defined(lint)
-/*ARGSUSED*/
-int
-kdi_vatotte(uintptr_t va, int cnum, tte_t *ttep)
-{
- return (0);
-}
-
-void
-kdi_trap_vatotte(void)
-{
-}
-
-#else
-
/*
* Invocation in normal context as a VA-to-TTE translator
* for kernel context only. This routine returns 0 on
* success and -1 on error.
*
@@ -341,6 +324,5 @@
6: jmp %g7
nop
SET_SIZE(kdi_trap_vatotte)
-#endif /* lint */