Description: Don't use unaligned access on ARM
 Depending on CPU and kernel config, unaligned access may raise SIGBUS on
 ARM.  Use the slower, but safe, implementation instead.
Author: Steve Langasek <steve.langasek@ubuntu.com>
Last-Update: 2017-06-18

--- python-dmidecode-3.12.2.orig/src/config.h
+++ python-dmidecode-3.12.2/src/config.h
@@ -53,7 +53,7 @@
 #endif
 
 /* Use memory alignment workaround or not */
-#ifdef __ia64__
+#if defined(__ia64__) || defined(__arm__)
 #define ALIGNMENT_WORKAROUND
 #endif
 
