summaryrefslogtreecommitdiff
path: root/usr/src/uts/sun4u/cherrystone/os
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2020-05-26 13:57:13 +0000
committerJohn Levon <john.levon@joyent.com>2020-05-26 13:57:13 +0000
commit5b2acc0949194447bba6e45a0fa44d0b5f42f208 (patch)
tree7ea9eb87bc68fee386dd39035ce715e87a0e673c /usr/src/uts/sun4u/cherrystone/os
parent8ca018083101bf1cb175869679bc123187fb1bab (diff)
parent2a1277d3064386cd5c4e372301007aa330bf1d5e (diff)
downloadillumos-joyent-gcc9.tar.gz
mergegcc9
Diffstat (limited to 'usr/src/uts/sun4u/cherrystone/os')
-rw-r--r--usr/src/uts/sun4u/cherrystone/os/cherrystone.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr/src/uts/sun4u/cherrystone/os/cherrystone.c b/usr/src/uts/sun4u/cherrystone/os/cherrystone.c
index 5b24d1a3da..1baeda6b35 100644
--- a/usr/src/uts/sun4u/cherrystone/os/cherrystone.c
+++ b/usr/src/uts/sun4u/cherrystone/os/cherrystone.c
@@ -101,7 +101,7 @@ startup_platform(void)
extern int disable_watchdog_on_exit;
disable_watchdog_on_exit = 1;
- mutex_init(&cherry_pcf8584_mutex, NULL, NULL, NULL);
+ mutex_init(&cherry_pcf8584_mutex, NULL, MUTEX_ADAPTIVE, NULL);
}
#pragma weak mmu_init_large_pages
@@ -295,14 +295,15 @@ plat_discover_slice(pfn_t pfn, pfn_t *first, pfn_t *last)
/*ARGSUSED*/
void
plat_freelist_process(int mnode)
-{}
+{
+}
/*
* Called for each board/cpu/PA range detected in plat_fill_mc().
*/
static void
update_mem_bounds(int boardid, int cpuid, int bankid,
- uint64_t base, uint64_t size)
+ uint64_t base, uint64_t size)
{
uint64_t end;
int mnode;