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
9e8eb5e6
Commit
9e8eb5e6
authored
Aug 21, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: Fix sys32_readahead wrapper to obey ABI wrt passing long longs
parent
d017aafb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
arch/ppc64/kernel/sys_ppc32.c
arch/ppc64/kernel/sys_ppc32.c
+3
-3
No files found.
arch/ppc64/kernel/sys_ppc32.c
View file @
9e8eb5e6
...
...
@@ -4130,16 +4130,16 @@ ssize_t32 sys32_pread64(unsigned int fd, char *ubuf, __kernel_size_t32 count,
}
ssize_t32
sys32_pwrite64
(
unsigned
int
fd
,
char
*
ubuf
,
__kernel_size_t32
count
,
u32
reg6
,
u32
poshi
,
u32
poslo
)
u32
reg6
,
u32
poshi
,
u32
poslo
)
{
return
sys_pwrite64
(
fd
,
ubuf
,
count
,
((
loff_t
)
AA
(
poshi
)
<<
32
)
|
AA
(
poslo
));
}
extern
ssize_t
sys_readahead
(
int
fd
,
loff_t
offset
,
size_t
count
);
ssize_t32
sys32_readahead
(
int
fd
,
u32
offhi
,
u32
offlo
,
s
32
count
)
ssize_t32
sys32_readahead
(
int
fd
,
u32
r4
,
u32
offhi
,
u32
offlo
,
u
32
count
)
{
return
sys_readahead
(
fd
,
((
loff_t
)
AA
(
offhi
)
<<
32
)
|
AA
(
offlo
),
count
);
return
sys_readahead
(
fd
,
((
loff_t
)
offhi
<<
32
)
|
offlo
,
AA
(
count
)
);
}
extern
asmlinkage
long
sys_truncate
(
const
char
*
path
,
unsigned
long
length
);
...
...
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