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
Kirill Smelkov
linux
Commits
ddc46c03
Commit
ddc46c03
authored
Jan 17, 2003
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: Remove code which zero/sign extends arguments 5 and 6, its done unconditionally now
parent
af7b04c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
32 deletions
+8
-32
arch/ppc64/kernel/misc.S
arch/ppc64/kernel/misc.S
+4
-4
arch/ppc64/kernel/sys32.S
arch/ppc64/kernel/sys32.S
+4
-28
No files found.
arch/ppc64/kernel/misc.S
View file @
ddc46c03
...
@@ -487,7 +487,7 @@ _GLOBAL(sys_call_table32)
...
@@ -487,7 +487,7 @@ _GLOBAL(sys_call_table32)
.
llong
.
sys_lchown
.
llong
.
sys_lchown
.
llong
.
sys_ni_syscall
/*
old
break
syscall
*/
.
llong
.
sys_ni_syscall
/*
old
break
syscall
*/
.
llong
.
sys_ni_syscall
/*
old
stat
syscall
*/
.
llong
.
sys_ni_syscall
/*
old
stat
syscall
*/
.
llong
.
sys
32_lseek
.
llong
.
ppc
32_lseek
.
llong
.
sys_getpid
/*
20
*/
.
llong
.
sys_getpid
/*
20
*/
.
llong
.
sys32_mount
.
llong
.
sys32_mount
.
llong
.
sys_oldumount
.
llong
.
sys_oldumount
...
@@ -558,7 +558,7 @@ _GLOBAL(sys_call_table32)
...
@@ -558,7 +558,7 @@ _GLOBAL(sys_call_table32)
.
llong
.
sys_swapon
.
llong
.
sys_swapon
.
llong
.
sys_reboot
.
llong
.
sys_reboot
.
llong
.
old32_readdir
.
llong
.
old32_readdir
.
llong
.
sys
32
_mmap
/*
90
*/
.
llong
.
sys_mmap
/*
90
*/
.
llong
.
sys_munmap
.
llong
.
sys_munmap
.
llong
.
sys_truncate
.
llong
.
sys_truncate
.
llong
.
sys_ftruncate
.
llong
.
sys_ftruncate
...
@@ -660,7 +660,7 @@ _GLOBAL(sys_call_table32)
...
@@ -660,7 +660,7 @@ _GLOBAL(sys_call_table32)
.
llong
.
sys_vfork
.
llong
.
sys_vfork
.
llong
.
sys32_getrlimit
/*
190
*/
.
llong
.
sys32_getrlimit
/*
190
*/
.
llong
.
sys32_readahead
.
llong
.
sys32_readahead
.
llong
.
ppc
32_mmap2
.
llong
.
sys
32_mmap2
.
llong
.
sys32_truncate64
.
llong
.
sys32_truncate64
.
llong
.
sys32_ftruncate64
.
llong
.
sys32_ftruncate64
.
llong
.
sys_stat64
/*
195
*/
.
llong
.
sys_stat64
/*
195
*/
...
@@ -707,7 +707,7 @@ _GLOBAL(sys_call_table32)
...
@@ -707,7 +707,7 @@ _GLOBAL(sys_call_table32)
.
llong
.
sys_epoll_create
.
llong
.
sys_epoll_create
.
llong
.
sys_epoll_ctl
.
llong
.
sys_epoll_ctl
.
llong
.
sys_epoll_wait
.
llong
.
sys_epoll_wait
.
llong
.
ppc32
_remap_file_pages
.
llong
.
sys
_remap_file_pages
.
rept
NR_syscalls
-
239
.
rept
NR_syscalls
-
239
.
llong
.
sys_ni_syscall
.
llong
.
sys_ni_syscall
...
...
arch/ppc64/kernel/sys32.S
View file @
ddc46c03
...
@@ -21,34 +21,10 @@
...
@@ -21,34 +21,10 @@
.
text
.
text
_GLOBAL
(
sys32_mmap
)
_GLOBAL
(
ppc32_lseek
)
clrldi
r7
,
r7
,
32
/*
int
fd
parm
*/
clrldi
r8
,
r8
,
32
/*
off_t
offset
parm
*/
b
.
sys_mmap
_GLOBAL
(
sys32_lseek
)
extsw
r4
,
r4
/*
sign
extend
off_t
offset
parm
*/
extsw
r4
,
r4
/*
sign
extend
off_t
offset
parm
*/
b
.
sys_lseek
b
.
sys_lseek
_GLOBAL
(
sys32_sendto
)
clrldi
r7
,
r7
,
32
/*
struct
sockaddr
*
addr
parm
*/
clrldi
r8
,
r8
,
32
/*
int
addr_len
parm
*/
b
.
sys_sendto
_GLOBAL
(
sys32_recvfrom
)
clrldi
r7
,
r7
,
32
/*
struct
sockaddr
*
addr
parm
*/
clrldi
r8
,
r8
,
32
/*
int
*
addr_len
parm
*/
b
.
sys_recvfrom
_GLOBAL
(
ppc32_mmap2
)
clrldi
r7
,
r7
,
32
/*
unsigned
long
fd
parm
*/
clrldi
r8
,
r8
,
32
/*
unsigned
long
pgoff
*/
b
.
sys32_mmap2
_GLOBAL
(
ppc32_remap_file_pages
)
clrldi
r7
,
r7
,
32
b
.
sys_remap_file_pages
_GLOBAL
(
sys32_socketcall
)
/
*
r3
=
call
,
r4
=
args
*/
_GLOBAL
(
sys32_socketcall
)
/
*
r3
=
call
,
r4
=
args
*/
cmpwi
r3
,
1
cmpwi
r3
,
1
blt
-
.
do_einval
blt
-
.
do_einval
...
@@ -141,8 +117,8 @@ _STATIC(do_sys_sendto) /* sys32_sendto(int, u32, compat_size_t, unsigned int, u3
...
@@ -141,8 +117,8 @@ _STATIC(do_sys_sendto) /* sys32_sendto(int, u32, compat_size_t, unsigned int, u3
lwz
r5
,
8
(
r10
)
lwz
r5
,
8
(
r10
)
lwz
r6
,
12
(
r10
)
lwz
r6
,
12
(
r10
)
lwz
r7
,
16
(
r10
)
lwz
r7
,
16
(
r10
)
lw
a
r8
,
20
(
r10
)
lw
z
r8
,
20
(
r10
)
b
.
sys
32
_sendto
b
.
sys_sendto
_STATIC
(
do_sys_recvfrom
)
/
*
sys32_recvfrom
(
int
,
u32
,
compat_size_t
,
unsigned
int
,
u32
,
u32
)
*/
_STATIC
(
do_sys_recvfrom
)
/
*
sys32_recvfrom
(
int
,
u32
,
compat_size_t
,
unsigned
int
,
u32
,
u32
)
*/
mr
r10
,
r4
mr
r10
,
r4
...
@@ -152,7 +128,7 @@ _STATIC(do_sys_recvfrom) /* sys32_recvfrom(int, u32, compat_size_t, unsigned int
...
@@ -152,7 +128,7 @@ _STATIC(do_sys_recvfrom) /* sys32_recvfrom(int, u32, compat_size_t, unsigned int
lwz
r6
,
12
(
r10
)
lwz
r6
,
12
(
r10
)
lwz
r7
,
16
(
r10
)
lwz
r7
,
16
(
r10
)
lwz
r8
,
20
(
r10
)
lwz
r8
,
20
(
r10
)
b
.
sys
32
_recvfrom
b
.
sys_recvfrom
_STATIC
(
do_sys_shutdown
)
/
*
sys_shutdown
(
int
,
int
)
*/
_STATIC
(
do_sys_shutdown
)
/
*
sys_shutdown
(
int
,
int
)
*/
mr
r10
,
r4
mr
r10
,
r4
...
...
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