aboutsummaryrefslogtreecommitdiff
path: root/utils/hwinfo/patches/050-arc.patch
blob: 07010c8261ec1712b310acadfb10242d3bbddfd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/src/hd/hd.c
+++ b/src/hd/hd.c
@@ -156,6 +156,10 @@
 #define HD_ARCH "riscv"
 #endif
 
+#ifdef __arc__
+#define HD_ARCH "arc"
+#endif
+
 typedef struct disk_s {
   struct disk_s *next;
   unsigned crc;