diff options
| author | Matthew Wilcox <willy@debian.org> | 2004-02-06 03:44:47 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2004-02-06 03:44:47 -0800 |
| commit | 1941d9bcab411cfee706feb1552d7998a984d186 (patch) | |
| tree | e543995e681019576a2901155229fb04d9bb1cb0 /ipc | |
| parent | 0bd56a0a6e716d12b914226ebccf2d997c021b3e (diff) | |
[PATCH] PA-RISC needs IPC64 structs
PA-RISC also uses the 64-bit version of the IPC structs.
Diffstat (limited to 'ipc')
| -rw-r--r-- | ipc/util.c | 2 | ||||
| -rw-r--r-- | ipc/util.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ipc/util.c b/ipc/util.c index 806b2d7084f1..bb548b511487 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 833c2642118d..79c8fc901317 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 |
