Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273255
b: refs/heads/master
c: f567a18
h: refs/heads/master
i:
  273253: 9f3025b
  273251: 5b86a72
  273247: 3772410
v: v3
  • Loading branch information
Manfred Spraul authored and Linus Torvalds committed Nov 2, 2011
1 parent afd4de2 commit 22e259d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e57940d719e9fc5223d133b631f8cb5232d6064e
refs/heads/master: f567a18590742b811287b7512fb0908deac4eef7
9 changes: 7 additions & 2 deletions trunk/include/linux/sem.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,16 +96,21 @@ struct sem_array {
int complex_count; /* pending complex operations */
};

#ifdef CONFIG_SYSVIPC

struct sysv_sem {
struct sem_undo_list *undo_list;
};

#ifdef CONFIG_SYSVIPC

extern int copy_semundo(unsigned long clone_flags, struct task_struct *tsk);
extern void exit_sem(struct task_struct *tsk);

#else

struct sysv_sem {
/* empty */
};

static inline int copy_semundo(unsigned long clone_flags, struct task_struct *tsk)
{
return 0;
Expand Down

0 comments on commit 22e259d

Please sign in to comment.