From 1941d9bcab411cfee706feb1552d7998a984d186 Mon Sep 17 00:00:00 2001 From: Matthew Wilcox Date: Fri, 6 Feb 2004 03:44:47 -0800 Subject: [PATCH] [PATCH] PA-RISC needs IPC64 structs PA-RISC also uses the 64-bit version of the IPC structs. --- ipc/util.c | 2 +- ipc/util.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ipc/util.c b/ipc/util.c index 806b2d7084f16..bb548b5114872 100644 --- a/ipc/util.c +++ b/ipc/util.c @@ -509,7 +509,7 @@ int ipc_checkid(struct ipc_ids* ids, struct kern_ipc_perm* ipcp, int uid) return 0; } -#if !defined(__ia64__) && !defined(__x86_64__) +#if !defined(__ia64__) && !defined(__x86_64__) && !defined(__hppa__) /** * ipc_parse_version - IPC call version diff --git a/ipc/util.h b/ipc/util.h index 833c2642118d5..79c8fc9013176 100644 --- a/ipc/util.h +++ b/ipc/util.h @@ -56,7 +56,7 @@ int ipc_checkid(struct ipc_ids* ids, struct kern_ipc_perm* ipcp, int uid); void kernel_to_ipc64_perm(struct kern_ipc_perm *in, struct ipc64_perm *out); void ipc64_perm_to_ipc_perm(struct ipc64_perm *in, struct ipc_perm *out); -#if defined(__ia64__) || defined(__x86_64__) +#if defined(__ia64__) || defined(__x86_64__) || defined(__hppa__) /* On IA-64, we always use the "64-bit version" of the IPC structures. */ # define ipc_parse_version(cmd) IPC_64 #else -- 2.53.0