summaryrefslogtreecommitdiffstats
path: root/sys/boot/zfs/zfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/zfs/zfs.c')
-rw-r--r--sys/boot/zfs/zfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/zfs/zfs.c b/sys/boot/zfs/zfs.c
index e313fde..97f924f 100644
--- a/sys/boot/zfs/zfs.c
+++ b/sys/boot/zfs/zfs.c
@@ -399,6 +399,7 @@ zfs_guid_to_unit(uint64_t guid)
return (-1);
}
+#if defined(__amd64__) || defined(__i386__)
static int
zfs_dev_init(void)
{
@@ -441,6 +442,7 @@ zfs_dev_init(void)
return (0);
}
+#endif
/*
* Print information about ZFS pools
OpenPOWER on IntegriCloud