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>
@@ -53,28 +47,10 @@
* NOTE: This file is identical to the one found under sun4u/daktari/ml.
* If its found that either of these files will not change it might
* be a good idea to move this up to sun4u/ml.
*/
-#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)
@@ -119,6 +95,5 @@
#endif
retl
wrpr %g0, %o4, %pstate ! restore earlier pstate register value
SET_SIZE(lddmcdecode)
-#endif /* lint */