]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Linux: support aarch64 for reading cpu info
authorRoy Marples <roy@marples.name>
Mon, 22 Jun 2020 12:17:25 +0000 (13:17 +0100)
committerRoy Marples <roy@marples.name>
Mon, 22 Jun 2020 12:17:25 +0000 (13:17 +0100)
src/if-linux.c

index 18df5f64ebad496bfd7bb15ec019a44945bdad71..b51878d7f94b58c4fe3f4e8a09cc9e3c3d5de62d 100644 (file)
@@ -156,7 +156,7 @@ static int if_addressexists(struct interface *, struct in_addr *);
 static const char *mproc =
 #if defined(__alpha__)
        "system type"
-#elif defined(__arm__)
+#elif defined(__arm__) || defined(__aarch64__)
        "Hardware"
 #elif defined(__avr32__)
        "cpu family"