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
9e09ffcd
Commit
9e09ffcd
authored
Aug 01, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SPARC64: Fixup build errors from pread64/pwrite64 rename.
parent
e372e712
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
arch/sparc64/kernel/sys_sparc32.c
arch/sparc64/kernel/sys_sparc32.c
+4
-4
arch/sparc64/solaris/fs.c
arch/sparc64/solaris/fs.c
+8
-8
No files found.
arch/sparc64/kernel/sys_sparc32.c
View file @
9e09ffcd
...
...
@@ -3886,13 +3886,13 @@ extern asmlinkage ssize_t sys_pwrite64(unsigned int fd, const char * buf,
typedef
__kernel_ssize_t32
ssize_t32
;
asmlinkage
ssize_t32
sys32_pread
(
unsigned
int
fd
,
char
*
ubuf
,
asmlinkage
ssize_t32
sys32_pread
64
(
unsigned
int
fd
,
char
*
ubuf
,
__kernel_size_t32
count
,
u32
poshi
,
u32
poslo
)
{
return
sys_pread64
(
fd
,
ubuf
,
count
,
((
loff_t
)
AA
(
poshi
)
<<
32
)
|
AA
(
poslo
));
}
asmlinkage
ssize_t32
sys32_pwrite
(
unsigned
int
fd
,
char
*
ubuf
,
asmlinkage
ssize_t32
sys32_pwrite
64
(
unsigned
int
fd
,
char
*
ubuf
,
__kernel_size_t32
count
,
u32
poshi
,
u32
poslo
)
{
return
sys_pwrite64
(
fd
,
ubuf
,
count
,
((
loff_t
)
AA
(
poshi
)
<<
32
)
|
AA
(
poslo
));
...
...
arch/sparc64/solaris/fs.c
View file @
9e09ffcd
...
...
@@ -669,18 +669,18 @@ asmlinkage int solaris_facl(unsigned int fd, int cmd, int nentries, u32 aclbufp)
asmlinkage
int
solaris_pread
(
unsigned
int
fd
,
char
*
buf
,
u32
count
,
u32
pos
)
{
ssize_t
(
*
sys_pread
)(
unsigned
int
,
char
*
,
size_t
,
loff_t
)
=
(
ssize_t
(
*
)(
unsigned
int
,
char
*
,
size_t
,
loff_t
))
SYS
(
pread
);
ssize_t
(
*
sys_pread
64
)(
unsigned
int
,
char
*
,
size_t
,
loff_t
)
=
(
ssize_t
(
*
)(
unsigned
int
,
char
*
,
size_t
,
loff_t
))
SYS
(
pread
64
);
return
sys_pread
(
fd
,
buf
,
count
,
(
loff_t
)
pos
);
return
sys_pread
64
(
fd
,
buf
,
count
,
(
loff_t
)
pos
);
}
asmlinkage
int
solaris_pwrite
(
unsigned
int
fd
,
char
*
buf
,
u32
count
,
u32
pos
)
{
ssize_t
(
*
sys_pwrite
)(
unsigned
int
,
char
*
,
size_t
,
loff_t
)
=
(
ssize_t
(
*
)(
unsigned
int
,
char
*
,
size_t
,
loff_t
))
SYS
(
pwrite
);
ssize_t
(
*
sys_pwrite
64
)(
unsigned
int
,
char
*
,
size_t
,
loff_t
)
=
(
ssize_t
(
*
)(
unsigned
int
,
char
*
,
size_t
,
loff_t
))
SYS
(
pwrite
64
);
return
sys_pwrite
(
fd
,
buf
,
count
,
(
loff_t
)
pos
);
return
sys_pwrite
64
(
fd
,
buf
,
count
,
(
loff_t
)
pos
);
}
/* POSIX.1 names */
...
...
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