]> err.no Git - util-linux/commitdiff
setarch: add __alpha__ support
authorBalint Cristian <cbalint@redhat.com>
Tue, 21 Aug 2007 08:00:58 +0000 (10:00 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 21 Aug 2007 08:00:58 +0000 (10:00 +0200)
Signed-off-by: Balint Cristian <cbalint@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/setarch.c

index 153a8283f79fd3e0778128f4185f9a9c380025f3..156e5f8c49da37656ba2fcb2dc48bca10ed4c0a9 100644 (file)
@@ -122,6 +122,9 @@ int set_arch(const char *pers, unsigned long options)
     {PER_LINUX32, "mips32", "mips"},
     {PER_LINUX32, "mips", "mips"},
     {PER_LINUX, "mips64", "mips64"},
+#endif
+#if defined(__alpha__)
+    {PER_LINUX, "alpha", "alpha"},
 #endif
     {-1, NULL, NULL}
   };