Export GetArmCpuId function
diff --git a/src/cpuinfo_arm.c b/src/cpuinfo_arm.c
index 3ea0641..24b9067 100644
--- a/src/cpuinfo_arm.c
+++ b/src/cpuinfo_arm.c
@@ -101,7 +101,7 @@
return !result.eof;
}
-static uint32_t GetCpuId(const ArmInfo* const info) {
+uint32_t GetArmCpuId(const ArmInfo* const info) {
return (ExtractBitRange(info->implementer, 7, 0) << 24) |
(ExtractBitRange(info->variant, 3, 0) << 20) |
(ExtractBitRange(info->part, 11, 0) << 4) |
@@ -118,7 +118,7 @@
// Handle kernel configuration bugs that prevent the correct reporting of CPU
// features.
- switch (GetCpuId(info)) {
+ switch (GetArmCpuId(info)) {
case 0x4100C080:
// Special case: The emulator-specific Android 4.2 kernel fails to report
// support for the 32-bit ARM IDIV instruction. Technically, this is a