diff options
Diffstat (limited to 'usr/src/uts/sun4/os')
| -rw-r--r-- | usr/src/uts/sun4/os/machdep.c | 10 | ||||
| -rw-r--r-- | usr/src/uts/sun4/os/startup.c | 3 |
2 files changed, 12 insertions, 1 deletions
diff --git a/usr/src/uts/sun4/os/machdep.c b/usr/src/uts/sun4/os/machdep.c index 556dbd71e1..970d5a4125 100644 --- a/usr/src/uts/sun4/os/machdep.c +++ b/usr/src/uts/sun4/os/machdep.c @@ -899,3 +899,13 @@ lbolt_softint_post(void) { setsoftint(lbolt_softint_inum); } + +void +thread_splitstack_run(caddr_t addr, void (*func)(void *), void *) +{ + panic("thread_splitstack() not supported on SPARC"); +} + +void +thread_splitstack_cleanup(void) +{} diff --git a/usr/src/uts/sun4/os/startup.c b/usr/src/uts/sun4/os/startup.c index 5a5dc05291..c8752a16ac 100644 --- a/usr/src/uts/sun4/os/startup.c +++ b/usr/src/uts/sun4/os/startup.c @@ -22,6 +22,7 @@ /* * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2016 by Delphix. All rights reserved. + * Copyright 2018 Joyent, Inc. * Copyright 2019 Peter Tribble. */ @@ -2037,7 +2038,7 @@ startup_vm(void) (void) seg_attach(&kas, segzio_base, mmu_ptob(segziosize), &kzioseg); - (void) segkmem_zio_create(&kzioseg); + (void) segkmem_create(&kzioseg); /* create zio area covering new segment */ segkmem_zio_init(segzio_base, mmu_ptob(segziosize)); |
