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
d810953c
Commit
d810953c
authored
Oct 17, 2003
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: arguments to mlockall and msync dont need sign extending
parent
c83c069b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
28 deletions
+2
-28
arch/ppc64/kernel/misc.S
arch/ppc64/kernel/misc.S
+2
-2
arch/ppc64/kernel/sys_ppc32.c
arch/ppc64/kernel/sys_ppc32.c
+0
-26
No files found.
arch/ppc64/kernel/misc.S
View file @
d810953c
...
@@ -742,7 +742,7 @@ _GLOBAL(sys_call_table32)
...
@@ -742,7 +742,7 @@ _GLOBAL(sys_call_table32)
.
llong
.
sys32_getdents
.
llong
.
sys32_getdents
.
llong
.
ppc32_select
.
llong
.
ppc32_select
.
llong
.
sys_flock
.
llong
.
sys_flock
.
llong
.
sys
32
_msync
.
llong
.
sys_msync
.
llong
.
sys32_readv
/*
145
*/
.
llong
.
sys32_readv
/*
145
*/
.
llong
.
sys32_writev
.
llong
.
sys32_writev
.
llong
.
sys32_getsid
.
llong
.
sys32_getsid
...
@@ -750,7 +750,7 @@ _GLOBAL(sys_call_table32)
...
@@ -750,7 +750,7 @@ _GLOBAL(sys_call_table32)
.
llong
.
sys32_sysctl
.
llong
.
sys32_sysctl
.
llong
.
sys_mlock
/*
150
*/
.
llong
.
sys_mlock
/*
150
*/
.
llong
.
sys_munlock
.
llong
.
sys_munlock
.
llong
.
sys
32
_mlockall
.
llong
.
sys_mlockall
.
llong
.
sys_munlockall
.
llong
.
sys_munlockall
.
llong
.
sys32_sched_setparam
.
llong
.
sys32_sched_setparam
.
llong
.
sys32_sched_getparam
/*
155
*/
.
llong
.
sys32_sched_getparam
/*
155
*/
...
...
arch/ppc64/kernel/sys_ppc32.c
View file @
d810953c
...
@@ -2340,32 +2340,6 @@ asmlinkage long sys32_mkdir(const char * pathname, u32 mode)
...
@@ -2340,32 +2340,6 @@ asmlinkage long sys32_mkdir(const char * pathname, u32 mode)
return
sys_mkdir
(
pathname
,
(
int
)
mode
);
return
sys_mkdir
(
pathname
,
(
int
)
mode
);
}
}
extern
asmlinkage
long
sys_mlockall
(
int
flags
);
/* Note: it is necessary to treat flags as an unsigned int,
* with the corresponding cast to a signed int to insure that the
* proper conversion (sign extension) between the register representation of a signed int (msr in 32-bit mode)
* and the register representation of a signed int (msr in 64-bit mode) is performed.
*/
asmlinkage
long
sys32_mlockall
(
u32
flags
)
{
return
sys_mlockall
((
int
)
flags
);
}
extern
asmlinkage
long
sys_msync
(
unsigned
long
start
,
size_t
len
,
int
flags
);
/* Note: it is necessary to treat flags as an unsigned int,
* with the corresponding cast to a signed int to insure that the
* proper conversion (sign extension) between the register representation of a signed int (msr in 32-bit mode)
* and the register representation of a signed int (msr in 64-bit mode) is performed.
*/
asmlinkage
long
sys32_msync
(
unsigned
long
start
,
size_t
len
,
u32
flags
)
{
return
sys_msync
(
start
,
len
,
(
int
)
flags
);
}
extern
asmlinkage
long
sys_nice
(
int
increment
);
extern
asmlinkage
long
sys_nice
(
int
increment
);
long
sys32_nice
(
u32
increment
)
long
sys32_nice
(
u32
increment
)
...
...
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