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
84f2d288
Commit
84f2d288
authored
Dec 07, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Plain Diff
Merge samba.org:/scratch/anton/linux-2.5
into samba.org:/scratch/anton/linux-2.5_ppc64_work
parents
679ab9a6
cec38df7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
14 deletions
+18
-14
arch/ppc64/kernel/ppc_ksyms.c
arch/ppc64/kernel/ppc_ksyms.c
+2
-0
arch/ppc64/kernel/sys_ppc32.c
arch/ppc64/kernel/sys_ppc32.c
+16
-14
No files found.
arch/ppc64/kernel/ppc_ksyms.c
View file @
84f2d288
...
...
@@ -246,5 +246,7 @@ EXPORT_SYMBOL(debugger_fault_handler);
EXPORT_SYMBOL
(
tb_ticks_per_usec
);
#ifdef CONFIG_PROFILING
EXPORT_SYMBOL_GPL
(
register_profile_notifier
);
EXPORT_SYMBOL_GPL
(
unregister_profile_notifier
);
#endif
arch/ppc64/kernel/sys_ppc32.c
View file @
84f2d288
...
...
@@ -208,19 +208,20 @@ static long do_readv_writev32(int type, struct file *file,
asmlinkage
long
sys32_readv
(
int
fd
,
struct
iovec32
*
vector
,
u32
count
)
{
struct
file
*
file
;
int
ret
;
int
ret
=
-
EBADF
;
file
=
fget
(
fd
);
if
(
!
file
)
return
-
EBADF
;
if
(
!
file
||
!
(
file
->
f_mode
&
FMODE_READ
)
)
goto
out
;
if
(
!
(
file
->
f_mode
&
FMODE_READ
))
return
-
EBADF
;
ret
=
-
EINVAL
;
if
(
!
file
->
f_op
||
(
!
file
->
f_op
->
readv
&&
!
file
->
f_op
->
read
))
return
-
EINVAL
;
goto
out
;
ret
=
do_readv_writev32
(
READ
,
file
,
vector
,
count
);
out:
if
(
file
)
fput
(
file
);
return
ret
;
}
...
...
@@ -228,19 +229,20 @@ asmlinkage long sys32_readv(int fd, struct iovec32 *vector, u32 count)
asmlinkage
long
sys32_writev
(
int
fd
,
struct
iovec32
*
vector
,
u32
count
)
{
struct
file
*
file
;
int
ret
;
int
ret
=
-
EBADF
;
file
=
fget
(
fd
);
if
(
!
file
)
return
-
EBADF
;
if
(
!
file
||
!
(
file
->
f_mode
&
FMODE_WRITE
)
)
goto
out
;
if
(
!
(
file
->
f_mode
&
FMODE_WRITE
))
return
-
EBADF
;
ret
=
-
EINVAL
;
if
(
!
file
->
f_op
||
(
!
file
->
f_op
->
writev
&&
!
file
->
f_op
->
write
))
return
-
EINVAL
;
goto
out
;
ret
=
do_readv_writev32
(
WRITE
,
file
,
vector
,
count
);
out:
if
(
file
)
fput
(
file
);
return
ret
;
}
...
...
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