Skip to contentSkip to conversation

detect-system: add arm and arm64

PATCH Applied [email protected] 2 participants 2 messages May 29, 2015 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 detect-system: add arm and arm64

From: Riku Voipio <[email protected]>

Add the architectures to allow running LKP on arm based architectures. The actual information doesn't seem to be used (no use on _system_arch or systemArch found with grep), so alternative could be the entire detection logic.

---
 lib/detect-system.sh | 4 ++++
 1 file changed, 4 insertions(+)
lib/detect-system.sh +4 -0
index 65de2ee..7460c15 100755
@@ -25,6 +25,10 @@ parse_executable_arch()
 			_system_arch=x86_64;;
 		*80[3456]86)
 			_system_arch=i386;;
+		*AArch64)
+			_system_arch=aarch64;;
+		*ARM)
+			_system_arch=arm;;
 		*)
 			_system_arch=unknown
 			return 1;;
Signature · 1 line
2.1.4
Applied
#1 lore raw

Applied both patches, thank you!

Quoted 30 lines · riku.voipio(a)linaro.org

From: Riku Voipio <[email protected]>

Add the architectures to allow running LKP on arm based architectures. The actual information doesn't seem to be used (no use on _system_arch or systemArch found with grep), so alternative could be the entire detection logic.

---
 lib/detect-system.sh | 4 ++++
 1 file changed, 4 insertions(+)
lib/detect-system.sh +4 -0
index 65de2ee..7460c15 100755
@@ -25,6 +25,10 @@ parse_executable_arch()
 			_system_arch=x86_64;;
 		*80[3456]86)
 			_system_arch=i386;;
+		*AArch64)
+			_system_arch=aarch64;;
+		*ARM)
+			_system_arch=arm;;
 		*)
 			_system_arch=unknown
 			return 1;;
Signature · 1 line
2.1.4