summaryrefslogtreecommitdiffstats
path: root/lib/libefi
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2014-01-07 23:14:33 +0100
committerBrian Behlendorf <[email protected]>2014-01-09 15:49:59 -0800
commitd7ec8d4fd9b704f6bc1220e6a79472ad9b3af0c8 (patch)
tree50bd95a5b09e416ec287f40b89b81fb806841574 /lib/libefi
parentecf3d9b8e63e5659269e15db527380c65780f71a (diff)
Define the needed ISA types for Sparc
Add the minimum required ISA types to support the Sparc architecture. Signed-off-by: Brian Behlendorf <[email protected]> Signed-off-by: Ned Bass <[email protected]> Signed-off-by: marku89 <[email protected]> Issue #1700
Diffstat (limited to 'lib/libefi')
-rw-r--r--lib/libefi/rdwr_efi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libefi/rdwr_efi.c b/lib/libefi/rdwr_efi.c
index a6dec404b..2807fb070 100644
--- a/lib/libefi/rdwr_efi.c
+++ b/lib/libefi/rdwr_efi.c
@@ -87,7 +87,8 @@ struct dk_map2 default_vtoc_map[NDKMAP] = {
#if defined(_SUNOS_VTOC_16)
-#if defined(i386) || defined(__amd64) || defined(__arm) || defined(__powerpc)
+#if defined(i386) || defined(__amd64) || defined(__arm) || \
+ defined(__powerpc) || defined(__sparc)
{ V_BOOT, V_UNMNT }, /* i - 8 */
{ V_ALTSCTR, 0 }, /* j - 9 */