summaryrefslogtreecommitdiff
path: root/usr/src/uts/sun4
diff options
context:
space:
mode:
authorSurya Prakki <Surya.Prakki@Sun.COM>2009-12-14 09:34:41 -0800
committerSurya Prakki <Surya.Prakki@Sun.COM>2009-12-14 09:34:41 -0800
commit07d06da50d310a325b457d6330165aebab1e0064 (patch)
tree6979ccdd6c0f1569a3d14151cd4aef87e5280f97 /usr/src/uts/sun4
parentab5a7454a6d76e82a121d74c74d5589cc3d37a8f (diff)
downloadillumos-joyent-07d06da50d310a325b457d6330165aebab1e0064.tar.gz
6903353 some sun4 components of ON are not lint clean
Diffstat (limited to 'usr/src/uts/sun4')
-rw-r--r--usr/src/uts/sun4/io/trapstat.c6
-rw-r--r--usr/src/uts/sun4/vm/sfmmu.c3
2 files changed, 5 insertions, 4 deletions
diff --git a/usr/src/uts/sun4/io/trapstat.c b/usr/src/uts/sun4/io/trapstat.c
index 9da1ec7d9f..4f99221bc0 100644
--- a/usr/src/uts/sun4/io/trapstat.c
+++ b/usr/src/uts/sun4/io/trapstat.c
@@ -915,7 +915,7 @@ trapstat_enable()
* Invoke processor specific interface to enable
* collection of TSB hit statistics.
*/
- cpu_trapstat_conf(CPU_TSTATCONF_ENABLE);
+ (void) cpu_trapstat_conf(CPU_TSTATCONF_ENABLE);
} else {
/*
* Collect TLB miss statistics by taking over
@@ -963,7 +963,7 @@ trapstat_disable()
* Invoke processor specific interface to disable
* collection of TSB hit statistics on each processor.
*/
- cpu_trapstat_conf(CPU_TSTATCONF_DISABLE);
+ (void) cpu_trapstat_conf(CPU_TSTATCONF_DISABLE);
} else {
/*
* As part of collecting TLB miss statistics, we took
@@ -2064,7 +2064,7 @@ trapstat_stop()
#ifdef sun4v
tstat_traptab_initialized = 0;
if (tstat_options & TSTAT_OPT_TLBDATA)
- cpu_trapstat_conf(CPU_TSTATCONF_FINI);
+ (void) cpu_trapstat_conf(CPU_TSTATCONF_FINI);
for (i = 0; i < tstat_num4m_mapping; i++)
contig_mem_free(tstat_va[i], MMU_PAGESIZE4M);
#endif
diff --git a/usr/src/uts/sun4/vm/sfmmu.c b/usr/src/uts/sun4/vm/sfmmu.c
index 464bf06839..fa16891935 100644
--- a/usr/src/uts/sun4/vm/sfmmu.c
+++ b/usr/src/uts/sun4/vm/sfmmu.c
@@ -18,6 +18,7 @@
*
* CDDL HEADER END
*/
+
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
@@ -807,7 +808,7 @@ ndata_alloc_tsbs(struct memlist *ndata, pgcnt_t npages)
/*
* Set ktsb_phys to 1 if the processor supports ASI_QUAD_LDD_PHYS.
*/
- sfmmu_setup_4lp();
+ (void) sfmmu_setup_4lp();
/*
* Size the kernel TSBs based upon the amount of physical