summaryrefslogtreecommitdiffstats
path: root/lib/libefi
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2012-07-12 11:34:43 -0700
committerBrian Behlendorf <[email protected]>2012-07-12 11:52:34 -0700
commit7535251dcf39cc648ea303ee52e128ad967fad85 (patch)
treee351e83239f95babd833b5e45b2cd8aaf445640e /lib/libefi
parentcee43a7477501669920445f29990443679142336 (diff)
Add PowerPC to supported VTOCs
This code was was inherited from Solaris which was careful to define the expected VTOC for various supported architectures. While this check may have made sense there it's something we should be able to safely drop under Linux. However, I'm not quite ready to do that yet. So for the moment I'm just doing the very safe thing of adding PowerPC as a supported type. Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'lib/libefi')
-rw-r--r--lib/libefi/rdwr_efi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libefi/rdwr_efi.c b/lib/libefi/rdwr_efi.c
index 474f78a38..80886bb44 100644
--- a/lib/libefi/rdwr_efi.c
+++ b/lib/libefi/rdwr_efi.c
@@ -87,7 +87,7 @@ struct dk_map2 default_vtoc_map[NDKMAP] = {
#if defined(_SUNOS_VTOC_16)
-#if defined(i386) || defined(__amd64) || defined(__arm)
+#if defined(i386) || defined(__amd64) || defined(__arm) || defined(__powerpc)
{ V_BOOT, V_UNMNT }, /* i - 8 */
{ V_ALTSCTR, 0 }, /* j - 9 */