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
4914ad4a
Commit
4914ad4a
authored
Jul 20, 2008
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] 32-bit compat: Delete unused sys_truncate64 and sys_ftruncate64.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
e0eb7307
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
17 deletions
+0
-17
arch/mips/kernel/linux32.c
arch/mips/kernel/linux32.c
+0
-17
No files found.
arch/mips/kernel/linux32.c
View file @
4914ad4a
...
...
@@ -129,23 +129,6 @@ sys32_mmap2(unsigned long addr, unsigned long len, unsigned long prot,
return
error
;
}
asmlinkage
int
sys_truncate64
(
const
char
__user
*
path
,
unsigned
int
high
,
unsigned
int
low
)
{
if
((
int
)
high
<
0
)
return
-
EINVAL
;
return
sys_truncate
(
path
,
((
long
)
high
<<
32
)
|
low
);
}
asmlinkage
int
sys_ftruncate64
(
unsigned
int
fd
,
unsigned
int
high
,
unsigned
int
low
)
{
if
((
int
)
high
<
0
)
return
-
EINVAL
;
return
sys_ftruncate
(
fd
,
((
long
)
high
<<
32
)
|
low
);
}
/*
* sys_execve() executes a new program.
*/
...
...
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