diff options
author | David Howells <dhowells@redhat.com> | 2012-12-17 13:47:09 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2012-12-17 14:12:19 +0000 |
commit | 96433f6ee49032d7a8bda76de2b05cfde2914354 (patch) | |
tree | 8e274f12a098c0cb7010c97f11b5af6463b5c169 /arch/alpha/include/uapi/asm/shmbuf.h | |
parent | a4f1de176614f634c367e5994a7bcc428c940df0 (diff) | |
download | talos-obmc-linux-96433f6ee49032d7a8bda76de2b05cfde2914354.tar.gz talos-obmc-linux-96433f6ee49032d7a8bda76de2b05cfde2914354.zip |
UAPI: (Scripted) Disintegrate arch/alpha/include/asm
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Michael Kerrisk <mtk.manpages@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Dave Jones <davej@redhat.com>
Acked-by: Michael Cree <mcree@orcon.net.nz>
Acked-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch/alpha/include/uapi/asm/shmbuf.h')
-rw-r--r-- | arch/alpha/include/uapi/asm/shmbuf.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/arch/alpha/include/uapi/asm/shmbuf.h b/arch/alpha/include/uapi/asm/shmbuf.h new file mode 100644 index 000000000000..37ee84f05085 --- /dev/null +++ b/arch/alpha/include/uapi/asm/shmbuf.h @@ -0,0 +1,38 @@ +#ifndef _ALPHA_SHMBUF_H +#define _ALPHA_SHMBUF_H + +/* + * The shmid64_ds structure for alpha architecture. + * Note extra padding because this structure is passed back and forth + * between kernel and user space. + * + * Pad space is left for: + * - 2 miscellaneous 64-bit values + */ + +struct shmid64_ds { + struct ipc64_perm shm_perm; /* operation perms */ + size_t shm_segsz; /* size of segment (bytes) */ + __kernel_time_t shm_atime; /* last attach time */ + __kernel_time_t shm_dtime; /* last detach time */ + __kernel_time_t shm_ctime; /* last change time */ + __kernel_pid_t shm_cpid; /* pid of creator */ + __kernel_pid_t shm_lpid; /* pid of last operator */ + unsigned long shm_nattch; /* no. of current attaches */ + unsigned long __unused1; + unsigned long __unused2; +}; + +struct shminfo64 { + unsigned long shmmax; + unsigned long shmmin; + unsigned long shmmni; + unsigned long shmseg; + unsigned long shmall; + unsigned long __unused1; + unsigned long __unused2; + unsigned long __unused3; + unsigned long __unused4; +}; + +#endif /* _ALPHA_SHMBUF_H */ |