Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198785
b: refs/heads/master
c: 31a7c47
h: refs/heads/master
i:
  198783: 33c2bbb
v: v3
  • Loading branch information
Manfred Spraul authored and Linus Torvalds committed May 27, 2010
1 parent c1fc4f0 commit af66caa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 0a2b9d4c79671b05956806ede5d054e03ae56280
refs/heads/master: 31a7c4746e9925512afab30557dd445d677cc802
4 changes: 3 additions & 1 deletion trunk/include/linux/sem.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ struct seminfo {
#ifdef __KERNEL__
#include <asm/atomic.h>
#include <linux/rcupdate.h>
#include <linux/cache.h>

struct task_struct;

Expand All @@ -91,7 +92,8 @@ 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 */
struct kern_ipc_perm ____cacheline_aligned_in_smp
sem_perm; /* permissions .. see ipc.h */
time_t sem_otime; /* last semop time */
time_t sem_ctime; /* last change time */
struct sem *sem_base; /* ptr to first semaphore in array */
Expand Down

0 comments on commit af66caa

Please sign in to comment.