summaryrefslogtreecommitdiffstats
path: root/include/linux/sem.h
diff options
context:
space:
mode:
authorMike Waychison <mikew@google.com>2005-09-06 15:17:10 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-07 16:57:26 -0700
commit19b4946ca9d1e35d4c641dcebe27378de34f3ddd (patch)
treeadd66dd24e7a30441bbe26a4cc35e1124434e5b9 /include/linux/sem.h
parentae7817745eef3b4ed3c2e36cb403e0c50f17d4e4 (diff)
downloadop-kernel-dev-19b4946ca9d1e35d4c641dcebe27378de34f3ddd.zip
op-kernel-dev-19b4946ca9d1e35d4c641dcebe27378de34f3ddd.tar.gz
[PATCH] ipc: convert /proc/sysvipc/* to generic seq_file interface
Change the /proc/sysvipc/shm|sem|msg files to use the generic seq_file implementation for struct ipc_ids. Signed-off-by: Mike Waychison <mikew@google.com> Cc: Manfred Spraul <manfred@colorfullife.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/sem.h')
-rw-r--r--include/linux/sem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sem.h b/include/linux/sem.h
index 2d8516b..106f975 100644
--- a/include/linux/sem.h
+++ b/include/linux/sem.h
@@ -88,6 +88,7 @@ struct sem {
/* One sem_array data structure for each set of semaphores in the system. */
struct sem_array {
struct kern_ipc_perm sem_perm; /* permissions .. see ipc.h */
+ int sem_id;
time_t sem_otime; /* last semop time */
time_t sem_ctime; /* last change time */
struct sem *sem_base; /* ptr to first semaphore in array */
OpenPOWER on IntegriCloud