Print this page
de-linting of .s files
@@ -22,12 +22,10 @@
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* Assembly language support for the n2piupc N2 PIU performance counter driver.
*/
#include <sys/asm_linkage.h>
@@ -34,24 +32,10 @@
#include <sys/hypervisor_api.h>
#include "n2piupc_acc.h"
/*LINTLIBRARY*/
-#if defined(lint)
-
-/*ARGSUSED*/
-int
-n2piupc_get_perfreg(cntr_handle_t handle, int regid, uint64_t *data)
-{ return (0); }
-
-/*ARGSUSED*/
-int
-n2piupc_set_perfreg(cntr_handle_t handle, int regid, uint64_t data)
-{ return (0); }
-
-#else /* lint */
-
ENTRY(n2piupc_get_perfreg)
mov N2PIU_GET_PERFREG, %o5
ta FAST_TRAP
brz,a %o0, 1f
stx %o1, [%o2]
@@ -64,6 +48,5 @@
ta FAST_TRAP
retl
nop
SET_SIZE(n2piupc_set_perfreg)
-#endif