Print this page
de-linting of .s files
*** 32,55 ****
#include <sys/hypervisor_api.h>
#include "rfios_acc.h"
/*LINTLIBRARY*/
- #if defined(lint)
-
- /*ARGSUSED*/
- int
- rfiospc_get_perfreg(cntr_handle_t handle, int regid, uint64_t *data)
- { return (0); }
-
- /*ARGSUSED*/
- int
- rfiospc_set_perfreg(cntr_handle_t handle, int regid, uint64_t data)
- { return (0); }
-
- #else /* lint */
-
ENTRY(rfiospc_get_perfreg)
mov RFIOS_GET_PERFREG, %o5
ta FAST_TRAP
brz,a %o0, 1f
stx %o1, [%o2]
--- 32,41 ----
*** 62,67 ****
ta FAST_TRAP
retl
nop
SET_SIZE(rfiospc_set_perfreg)
- #endif
--- 48,52 ----