diff options
Diffstat (limited to 'usr/src/uts/sun4')
-rw-r--r-- | usr/src/uts/sun4/io/trapstat.c | 6 | ||||
-rw-r--r-- | usr/src/uts/sun4/vm/sfmmu.c | 3 |
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 |