]> 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)
committerLaMont Jones <lamont@mmjgroup.com>
Tue, 21 Aug 2007 16:46:17 +0000 (10:46 -0600)
Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
sys-utils/setarch.c

index 17ab7e08f5dfd51af87e36feff09b8811e711652..9e44f5f35fedb8744b7d9226dc7988f34406d2fb 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_LINUX32, "parisc", "parisc"},
+    {PER_LINUX, "parisc64", "parisc64"},
+#endif
 #if defined(__s390x__) || defined(__s390__)
     {PER_LINUX32, "s390", "s390"},
     {PER_LINUX, "s390x", "s390x"},