Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
9f799613
Commit
9f799613
authored
Jan 21, 2003
by
Stephen Rothwell
Committed by
David Mosberger
Jan 21, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ia64: [COMPAT] Eliminate the rest of the __kernel_..._t32 typedefs
parent
8c2000be
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
20 deletions
+16
-20
arch/ia64/ia32/sys_ia32.c
arch/ia64/ia32/sys_ia32.c
+8
-8
include/asm-ia64/compat.h
include/asm-ia64/compat.h
+7
-0
include/asm-ia64/ia32.h
include/asm-ia64/ia32.h
+1
-12
No files found.
arch/ia64/ia32/sys_ia32.c
View file @
9f799613
...
...
@@ -1849,10 +1849,10 @@ struct ipc_perm32 {
struct
ipc64_perm32
{
key_t
key
;
__kernel_uid32_t32
uid
;
__kernel_gid32_t32
gid
;
__kernel_uid32_t32
cuid
;
__kernel_gid32_t32
cgid
;
compat_uid32_t
uid
;
compat_gid32_t
gid
;
compat_uid32_t
cuid
;
compat_gid32_t
cgid
;
compat_mode_t
mode
;
unsigned
short
__pad1
;
unsigned
short
seq
;
...
...
@@ -1895,8 +1895,8 @@ struct msqid_ds32 {
unsigned
short
msg_cbytes
;
unsigned
short
msg_qnum
;
unsigned
short
msg_qbytes
;
__kernel_ipc_pid_t32
msg_lspid
;
__kernel_ipc_pid_t32
msg_lrpid
;
compat_ipc_pid_t
msg_lspid
;
compat_ipc_pid_t
msg_lrpid
;
};
struct
msqid64_ds32
{
...
...
@@ -1922,8 +1922,8 @@ struct shmid_ds32 {
compat_time_t
shm_atime
;
compat_time_t
shm_dtime
;
compat_time_t
shm_ctime
;
__kernel_ipc_pid_t32
shm_cpid
;
__kernel_ipc_pid_t32
shm_lpid
;
compat_ipc_pid_t
shm_cpid
;
compat_ipc_pid_t
shm_lpid
;
unsigned
short
shm_nattch
;
};
...
...
include/asm-ia64/compat.h
View file @
9f799613
...
...
@@ -14,11 +14,18 @@ typedef s32 compat_clock_t;
typedef
s32
compat_pid_t
;
typedef
u16
compat_uid_t
;
typedef
u16
compat_gid_t
;
typedef
u32
compat_uid32_t
;
typedef
u32
compat_gid32_t
;
typedef
u16
compat_mode_t
;
typedef
u32
compat_ino_t
;
typedef
u16
compat_dev_t
;
typedef
s32
compat_off_t
;
typedef
s64
compat_loff_t
;
typedef
u16
compat_nlink_t
;
typedef
u16
compat_ipc_pid_t
;
typedef
s32
compat_daddr_t
;
typedef
u32
compat_caddr_t
;
typedef
__kernel_fsid_t
compat_fsid_t
;
struct
compat_timespec
{
compat_time_t
tv_sec
;
...
...
include/asm-ia64/ia32.h
View file @
9f799613
...
...
@@ -12,17 +12,6 @@
* 32 bit structures for IA32 support.
*/
/* 32bit compatibility types */
typedef
unsigned
short
__kernel_ipc_pid_t32
;
typedef
unsigned
int
__kernel_uid32_t32
;
typedef
unsigned
int
__kernel_gid32_t32
;
typedef
unsigned
short
__kernel_umode_t32
;
typedef
short
__kernel_nlink_t32
;
typedef
int
__kernel_daddr_t32
;
typedef
unsigned
int
__kernel_caddr_t32
;
typedef
long
__kernel_loff_t32
;
typedef
__kernel_fsid_t
__kernel_fsid_t32
;
#define IA32_PAGE_SHIFT 12
/* 4KB pages */
#define IA32_PAGE_SIZE (1UL << IA32_PAGE_SHIFT)
#define IA32_PAGE_MASK (~(IA32_PAGE_SIZE - 1))
...
...
@@ -222,7 +211,7 @@ struct statfs32 {
int
f_bavail
;
int
f_files
;
int
f_ffree
;
__kernel_fsid_t32
f_fsid
;
compat_fsid_t
f_fsid
;
int
f_namelen
;
/* SunOS ignores this field. */
int
f_spare
[
6
];
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment