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
dd3f51c2
Commit
dd3f51c2
authored
Sep 09, 2003
by
Andrew Morton
Committed by
Linus Torvalds
Sep 09, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sys_fadvise needs asmlinkage
parent
c3ee1c75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mm/fadvise.c
mm/fadvise.c
+2
-2
No files found.
mm/fadvise.c
View file @
dd3f51c2
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
* POSIX_FADV_WILLNEED could set PG_Referenced, and POSIX_FADV_NOREUSE could
* POSIX_FADV_WILLNEED could set PG_Referenced, and POSIX_FADV_NOREUSE could
* deactivate the pages and clear PG_Referenced.
* deactivate the pages and clear PG_Referenced.
*/
*/
long
sys_fadvise64_64
(
int
fd
,
loff_t
offset
,
loff_t
len
,
int
advice
)
asmlinkage
long
sys_fadvise64_64
(
int
fd
,
loff_t
offset
,
loff_t
len
,
int
advice
)
{
{
struct
file
*
file
=
fget
(
fd
);
struct
file
*
file
=
fget
(
fd
);
struct
inode
*
inode
;
struct
inode
*
inode
;
...
@@ -80,7 +80,7 @@ long sys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice)
...
@@ -80,7 +80,7 @@ long sys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice)
return
ret
;
return
ret
;
}
}
long
sys_fadvise64
(
int
fd
,
loff_t
offset
,
size_t
len
,
int
advice
)
asmlinkage
long
sys_fadvise64
(
int
fd
,
loff_t
offset
,
size_t
len
,
int
advice
)
{
{
return
sys_fadvise64_64
(
fd
,
offset
,
len
,
advice
);
return
sys_fadvise64_64
(
fd
,
offset
,
len
,
advice
);
}
}
...
...
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