From 191e18ebcee3698a76b55912de0a41111c384128 Mon Sep 17 00:00:00 2001 From: Nathaniel Filardo Date: Wed, 1 May 2019 23:01:51 +0100 Subject: [PATCH] Open ppc64le_linux sysname space 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 Reviewed-by: Michael Meffie Reviewed-by: Jeffrey Altman Reviewed-by: Benjamin Kaduk --- src/config/afs_sysnames.h | 2 ++ src/config/param.ppc64le_linux26.h | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 src/config/param.ppc64le_linux26.h diff --git a/src/config/afs_sysnames.h b/src/config/afs_sysnames.h index 1cb1ba9..8f7feec 100644 --- a/src/config/afs_sysnames.h +++ b/src/config/afs_sysnames.h @@ -393,6 +393,8 @@ #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 index 0000000..d877bb1 --- /dev/null +++ b/src/config/param.ppc64le_linux26.h @@ -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 */ -- 1.9.4