-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 104154 b: refs/heads/master c: 2d14196 h: refs/heads/master v: v3
- Loading branch information
Sam Ravnborg
authored and
David S. Miller
committed
Jul 18, 2008
1 parent
7906fb4
commit bad8f8b
Showing
3 changed files
with
13 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: fcb07081f209d3d9c7662ba6a097b254e76f71ee | ||
refs/heads/master: 2d1419624c2e0173aee138372dd1eccb5d5fd270 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1 @@ | ||
#ifndef _SPARC64_SHMBUF_H | ||
#define _SPARC64_SHMBUF_H | ||
|
||
/* | ||
* The shmid64_ds structure for sparc64 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 */ | ||
__kernel_time_t shm_atime; /* last attach time */ | ||
__kernel_time_t shm_dtime; /* last detach time */ | ||
__kernel_time_t shm_ctime; /* last change time */ | ||
size_t shm_segsz; /* size of segment (bytes) */ | ||
__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 /* _SPARC64_SHMBUF_H */ | ||
#include <asm-sparc/shmbuf.h> |