summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2020-06-14 15:36:52 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2020-06-14 15:36:52 +0000
commitffc279c008fc0d2caf9156ec2f03011e18a911b8 (patch)
tree828de7a9d51be681fc47b8773bf2e61305c0b9a1 /sys/arch/powerpc64
parentde6be07500ebc5f7a2cff7aadd34935cbce58476 (diff)
Unstub diskconf().
Diffstat (limited to 'sys/arch/powerpc64')
-rw-r--r--sys/arch/powerpc64/powerpc64/autoconf.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/powerpc64/powerpc64/autoconf.c b/sys/arch/powerpc64/powerpc64/autoconf.c
index da4fa7824ef..470e88addc3 100644
--- a/sys/arch/powerpc64/powerpc64/autoconf.c
+++ b/sys/arch/powerpc64/powerpc64/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.4 2020/06/09 22:12:22 kettenis Exp $ */
+/* $OpenBSD: autoconf.c,v 1.5 2020/06/14 15:36:51 kettenis Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
@@ -18,6 +18,7 @@
#include <sys/param.h>
#include <sys/device.h>
+#include <sys/reboot.h>
#include <sys/systm.h>
void
@@ -35,7 +36,9 @@ cpu_configure(void)
void
diskconf(void)
{
- printf("%s\n", __func__);
+ int part = 0;
+
+ setroot(NULL, part, RB_USERREQ);
}
void