Blob Blame History Raw
From 0966726a8ecd982797ef1181d95fd2f172dc38af Mon Sep 17 00:00:00 2001
From: Jeffrey Bastian <jbastian@redhat.com>
Date: Tue, 14 Jul 2015 07:48:34 -0500
Subject: [PATCH] only use SMBIOS3 on aarch64 systems

---
 dmidecode.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dmidecode.c b/dmidecode.c
index 163730b6e298..5e9e8a29b977 100644
--- a/dmidecode.c
+++ b/dmidecode.c
@@ -4784,11 +4784,13 @@ int main(int argc, char * const argv[])
 		goto done;
 	}
 
+#ifdef __aarch64__
 	/* First try dmi sysfs */
 	if (dmifs_is_exist()) {
 		dmifs_smbios_decode();
 		goto exit_free;
 	}
+#endif
 
 	/* Second try EFI (ia64, Intel-based Mac) */
 	efi = address_from_efi(&fp);
-- 
1.9.4