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
3c3080ab
Commit
3c3080ab
authored
Aug 17, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: 32 bit mknod and chmod need no sign extension
parent
d203ae95
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
23 deletions
+2
-23
arch/ppc64/kernel/misc.S
arch/ppc64/kernel/misc.S
+2
-2
arch/ppc64/kernel/sys32.S
arch/ppc64/kernel/sys32.S
+0
-10
arch/ppc64/kernel/sys_ppc32.c
arch/ppc64/kernel/sys_ppc32.c
+0
-11
No files found.
arch/ppc64/kernel/misc.S
View file @
3c3080ab
...
@@ -518,8 +518,8 @@ _GLOBAL(sys_call_table32)
...
@@ -518,8 +518,8 @@ _GLOBAL(sys_call_table32)
.
llong
.
sys32_execve
.
llong
.
sys32_execve
.
llong
.
sys_chdir
.
llong
.
sys_chdir
.
llong
.
sys32_time
.
llong
.
sys32_time
.
llong
.
sys
32
_mknod
.
llong
.
sys_mknod
.
llong
.
sys
32
_chmod
/*
15
*/
.
llong
.
sys_chmod
/*
15
*/
.
llong
.
sys_lchown
.
llong
.
sys_lchown
.
llong
.
sys_ni_syscall
/*
old
break
syscall
holder
*/
.
llong
.
sys_ni_syscall
/*
old
break
syscall
holder
*/
.
llong
.
sys32_stat
.
llong
.
sys32_stat
...
...
arch/ppc64/kernel/sys32.S
View file @
3c3080ab
...
@@ -19,8 +19,6 @@
...
@@ -19,8 +19,6 @@
#include <asm/errno.h>
#include <asm/errno.h>
#include <asm/processor.h>
#include <asm/processor.h>
/*
NOTE
:
call
as
jump
breaks
return
stack
,
we
have
to
avoid
that
*/
.
text
.
text
_GLOBAL
(
sys32_mmap
)
_GLOBAL
(
sys32_mmap
)
...
@@ -32,14 +30,6 @@ _GLOBAL(sys32_lseek)
...
@@ -32,14 +30,6 @@ _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_chmod
)
/*
Ken
Aaker
..
hmmm
maybe
I
don
't need to do anything here */
b
.
sys_chmod
_GLOBAL
(
sys32_mknod
)
/*
Ken
Aaker
..
hmmm
maybe
I
don
't need to do anything here */
b
.
sys_mknod
_GLOBAL
(
sys32_sendto
)
_GLOBAL
(
sys32_sendto
)
clrldi
r7
,
r7
,
32
/*
struct
sockaddr
*
addr
parm
*/
clrldi
r7
,
r7
,
32
/*
struct
sockaddr
*
addr
parm
*/
clrldi
r8
,
r8
,
32
/*
int
addr_len
parm
*/
clrldi
r8
,
r8
,
32
/*
int
addr_len
parm
*/
...
...
arch/ppc64/kernel/sys_ppc32.c
View file @
3c3080ab
...
@@ -453,17 +453,6 @@ asmlinkage long sys32_mount(char *dev_name, char *dir_name, char *type, unsigned
...
@@ -453,17 +453,6 @@ asmlinkage long sys32_mount(char *dev_name, char *dir_name, char *type, unsigned
return
err
;
return
err
;
}
}
struct
dqblk32
{
__u32
dqb_bhardlimit
;
__u32
dqb_bsoftlimit
;
__u32
dqb_curblocks
;
__u32
dqb_ihardlimit
;
__u32
dqb_isoftlimit
;
__u32
dqb_curinodes
;
__kernel_time_t32
dqb_btime
;
__kernel_time_t32
dqb_itime
;
};
/* readdir & getdents */
/* readdir & getdents */
#define NAME_OFFSET(de) ((int) ((de)->d_name - (char *) (de)))
#define NAME_OFFSET(de) ((int) ((de)->d_name - (char *) (de)))
#define ROUND_UP(x) (((x)+sizeof(u32)-1) & ~(sizeof(u32)-1))
#define ROUND_UP(x) (((x)+sizeof(u32)-1) & ~(sizeof(u32)-1))
...
...
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