diff options
author | Tony Luck <tony.luck@intel.com> | 2012-10-09 16:09:57 -0700 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2012-10-09 16:09:57 -0700 |
commit | d536e0db2433686238ec97c517e4fc691000ee6f (patch) | |
tree | 10d648ed6a74310c91a8c09e60b03f8328dfd677 /arch/ia64/include/uapi/asm/shmbuf.h | |
parent | 9e2d8656f5e8aa214e66b462680cf86b210b74a8 (diff) | |
parent | 43e40f25d2c090392fc36cb900b42972e88cc2e2 (diff) | |
download | linux-d536e0db2433686238ec97c517e4fc691000ee6f.tar.gz linux-d536e0db2433686238ec97c517e4fc691000ee6f.tar.bz2 linux-d536e0db2433686238ec97c517e4fc691000ee6f.zip |
Merge tag 'disintegrate-ia64-20121009' of git://git.infradead.org/users/dhowells/linux-headers into next
UAPI Disintegration 2012-10-09
Diffstat (limited to 'arch/ia64/include/uapi/asm/shmbuf.h')
-rw-r--r-- | arch/ia64/include/uapi/asm/shmbuf.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/arch/ia64/include/uapi/asm/shmbuf.h b/arch/ia64/include/uapi/asm/shmbuf.h new file mode 100644 index 000000000000..585002a77acd --- /dev/null +++ b/arch/ia64/include/uapi/asm/shmbuf.h @@ -0,0 +1,38 @@ +#ifndef _ASM_IA64_SHMBUF_H +#define _ASM_IA64_SHMBUF_H + +/* + * The shmid64_ds structure for IA-64 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 /* _ASM_IA64_SHMBUF_H */ |