diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-07-14 03:11:44 +0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-07-14 03:11:44 +0400 |
commit | 08cd84c81f27d5bd22ba958b7cae6d566c509280 (patch) | |
tree | 6fdb546c151410851fd3c604d42590afa4215084 /ipc | |
parent | e9dd2561793c05d70c9df1bc16a2dde6f23388df (diff) | |
parent | 327309e899662b482c58cf25f574513d38b5788c (diff) | |
download | linux-08cd84c81f27d5bd22ba958b7cae6d566c509280.tar.xz |
Merge /spare/repo/netdev-2.6 branch 'ieee80211'
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/compat.c | 1 | ||||
-rw-r--r-- | ipc/util.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ipc/compat.c b/ipc/compat.c index 70e4e4e10fd1..3881d564c668 100644 --- a/ipc/compat.c +++ b/ipc/compat.c @@ -572,6 +572,7 @@ static inline int put_compat_shminfo(struct shminfo64 *smi, err |= __put_user(smi->shmmni, &up->shmmni); err |= __put_user(smi->shmseg, &up->shmseg); err |= __put_user(smi->shmall, &up->shmall); + return err; } static inline int put_compat_shm_info(struct shm_info __user *ip, diff --git a/ipc/util.h b/ipc/util.h index 07d689452363..44348ca5a707 100644 --- a/ipc/util.h +++ b/ipc/util.h @@ -67,7 +67,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__) || defined(__hppa__) +#if defined(__ia64__) || defined(__x86_64__) || defined(__hppa__) || defined(__XTENSA__) /* On IA-64, we always use the "64-bit version" of the IPC structures. */ # define ipc_parse_version(cmd) IPC_64 #else |