Blame SOURCES/0016-Fix-apparent-typo-in-ARM-32-on-64-code.patch

d1e1c8
From d5b72b322d5b7c6c115833c518e1aa5798076309 Mon Sep 17 00:00:00 2001
d1e1c8
From: dann frazier <dann.frazier@canonical.com>
d1e1c8
Date: Mon, 14 Jan 2019 15:25:11 -0700
d1e1c8
Subject: [PATCH 16/62] Fix apparent typo in ARM 32-on-64 code
d1e1c8
d1e1c8
The architecture is aarch64, not arch64.
d1e1c8
d1e1c8
Fixes: 750584c20775 ("Make 64-on-32 maybe work on x86_64.")
d1e1c8
Signed-off-by: dann frazier <dann.frazier@canonical.com>
d1e1c8
Upstream-commit-id: e9f67aaa75a
d1e1c8
---
d1e1c8
 shim.c | 2 +-
d1e1c8
 1 file changed, 1 insertion(+), 1 deletion(-)
d1e1c8
d1e1c8
diff --git a/shim.c b/shim.c
d1e1c8
index d980cadacfc..e4d4fea226d 100644
d1e1c8
--- a/shim.c
d1e1c8
+++ b/shim.c
d1e1c8
@@ -150,7 +150,7 @@ allow_32_bit(void)
d1e1c8
 #endif
d1e1c8
 #elif defined(__i386__) || defined(__i686__)
d1e1c8
 	return 1;
d1e1c8
-#elif defined(__arch64__)
d1e1c8
+#elif defined(__aarch64__)
d1e1c8
 	return 0;
d1e1c8
 #else /* assuming everything else is 32-bit... */
d1e1c8
 	return 1;
d1e1c8
-- 
d1e1c8
2.26.2
d1e1c8