Open ppc64le_linux sysname space 62/13562/2
authorNathaniel Filardo <nwfilardo@gmail.com>
Wed, 1 May 2019 22:01:51 +0000 (23:01 +0100)
committerBenjamin Kaduk <kaduk@mit.edu>
Sun, 5 May 2019 02:56:07 +0000 (22:56 -0400)
While here, add config/param.ppc64le_linux26.h; it's just like
ppc64_linux26.h, except not AFSBIG_ENDIAN.

Change-Id: I6671405f829f2bf50b6e8d3355ab9e8aed384c02
Reviewed-on: https://gerrit.openafs.org/13562
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Jeffrey Altman <jaltman@auristor.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

src/config/afs_sysnames.h
src/config/param.ppc64le_linux26.h [new file with mode: 0644]

index 1cb1ba9..8f7feec 100644 (file)
 #define SYS_NAME_ID_arm64_linux2       4100
 #define SYS_NAME_ID_arm64_linux26      4103
 
+#define SYS_NAME_ID_ppc64le_linux26    4203
+
 #define        AFS_REALM_SZ    64
 
 /* Specifies the number of equivalent local realm names */
diff --git a/src/config/param.ppc64le_linux26.h b/src/config/param.ppc64le_linux26.h
new file mode 100644 (file)
index 0000000..d877bb1
--- /dev/null
@@ -0,0 +1,35 @@
+/*
+ * Copyright 2000, International Business Machines Corporation and others.
+ * All Rights Reserved.
+ *
+ * This software has been released under the terms of the IBM Public
+ * License.  For details, see the LICENSE file in the top-level source
+ * directory or online at http://www.openafs.org/dl/license10.html
+ */
+
+#ifndef AFS_PARAM_H
+#define AFS_PARAM_H
+
+#ifndef UKERNEL
+/* This section for kernel space compiles only */
+#define AFS_PPC64_LINUX20_ENV  1
+#define AFS_PPC64_LINUX22_ENV  1
+#define AFS_PPC64_LINUX24_ENV  1
+#define AFS_PPC64_LINUX26_ENV  1
+#define AFS_LINUX_64BIT_KERNEL 1
+#define AFS_64BITPOINTER_ENV   1     /* pointers are 64 bits */
+#define AFS_64BITUSERPOINTER_ENV       1
+
+#else /* !defined(UKERNEL) */
+
+/* This section for user space compiles only */
+#define UKERNEL                        1       /* user space kernel */
+
+#endif /* !defined(UKERNEL) */
+
+/* Machine / Operating system information */
+#define SYS_NAME       "ppc64le_linux26"
+#define SYS_NAME_ID    SYS_NAME_ID_ppc64le_linux26
+#define AFS_SYSCALL    137
+
+#endif /* AFS_PARAM_H */