Print this page
de-linting of .s files
*** 22,33 ****
/*
* 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>
--- 22,31 ----
*** 34,57 ****
#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]
--- 32,41 ----
*** 64,69 ****
ta FAST_TRAP
retl
nop
SET_SIZE(n2piupc_set_perfreg)
- #endif
--- 48,52 ----