]> err.no Git - util-linux/commitdiff
setarch: add parisc/parisc64 support
authorLaMont Jones <lamont@mmjgroup.com>
Tue, 21 Aug 2007 16:19:19 +0000 (10:19 -0600)
committerKarel Zak <kzak@redhat.com>
Mon, 27 Aug 2007 08:47:05 +0000 (10:47 +0200)
Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
sys-utils/setarch.c

index 17ab7e08f5dfd51af87e36feff09b8811e711652..d0cfe22947df4c7e2b530ed12c381ddba11262c6 100644 (file)
@@ -121,6 +121,10 @@ int set_arch(const char *pers, unsigned long options)
 #if defined(__ia64__) || defined(__i386__)
     {PER_LINUX, "ia64", "ia64"},
 #endif
+#if defined(__hppa__)
+    {PER_LINUX, "parisc", "parisc"},
+    {PER_LINUX, "parisc64", "parisc64"},
+#endif
 #if defined(__s390x__) || defined(__s390__)
     {PER_LINUX32, "s390", "s390"},
     {PER_LINUX, "s390x", "s390x"},