]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Open ppc64le_linux sysname space
authorNathaniel Filardo <nwfilardo@gmail.com>
Wed, 1 May 2019 22:01:51 +0000 (23:01 +0100)
committerStephan Wiesand <stephan.wiesand@desy.de>
Mon, 10 Jun 2019 12:04:59 +0000 (08:04 -0400)
While here, add config/param.ppc64le_linux26.h; it's just like
ppc64_linux26.h, except not AFSBIG_ENDIAN.

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>
(cherry picked from commit 191e18ebcee3698a76b55912de0a41111c384128)

Change-Id: I9852da2a376a24269ff720a4da4881dae83036cd
Reviewed-on: https://gerrit.openafs.org/13589
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/config/afs_sysnames.h
src/config/param.ppc64le_linux26.h [new file with mode: 0644]

index 46aaf7a3b4dcaaa61f3edea4b2642219b9100a04..0f34b96e8c223016edc6a86a46db267828343797 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 */