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
2cfc5be7
Commit
2cfc5be7
authored
Sep 28, 2007
by
Kyle McMartin
Committed by
Kyle McMartin
Oct 18, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PARISC] Wire up sys_fallocate (and compat_sys_fallocate)
Signed-off-by:
Kyle McMartin
<
kyle@mcmartin.ca
>
parent
d85714d8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
arch/parisc/kernel/sys_parisc32.c
arch/parisc/kernel/sys_parisc32.c
+7
-0
arch/parisc/kernel/syscall_table.S
arch/parisc/kernel/syscall_table.S
+1
-0
include/asm-parisc/unistd.h
include/asm-parisc/unistd.h
+2
-1
No files found.
arch/parisc/kernel/sys_parisc32.c
View file @
2cfc5be7
...
@@ -473,3 +473,10 @@ long sys32_lookup_dcookie(u32 cookie_high, u32 cookie_low, char __user *buf,
...
@@ -473,3 +473,10 @@ long sys32_lookup_dcookie(u32 cookie_high, u32 cookie_low, char __user *buf,
return
sys_lookup_dcookie
((
u64
)
cookie_high
<<
32
|
cookie_low
,
return
sys_lookup_dcookie
((
u64
)
cookie_high
<<
32
|
cookie_low
,
buf
,
len
);
buf
,
len
);
}
}
asmlinkage
long
compat_sys_fallocate
(
int
fd
,
int
mode
,
u32
offhi
,
u32
offlo
,
u32
lenhi
,
u32
lenlo
)
{
return
sys_fallocate
(
fd
,
mode
,
((
loff_t
)
offhi
<<
32
)
|
offlo
,
((
loff_t
)
lenhi
<<
32
)
|
lenlo
);
}
arch/parisc/kernel/syscall_table.S
View file @
2cfc5be7
...
@@ -403,6 +403,7 @@
...
@@ -403,6 +403,7 @@
ENTRY_COMP
(
signalfd
)
ENTRY_COMP
(
signalfd
)
ENTRY_COMP
(
timerfd
)
ENTRY_COMP
(
timerfd
)
ENTRY_SAME
(
eventfd
)
ENTRY_SAME
(
eventfd
)
ENTRY_COMP
(
fallocate
)
/*
305
*/
/
*
Nothing
yet
*/
/
*
Nothing
yet
*/
...
...
include/asm-parisc/unistd.h
View file @
2cfc5be7
...
@@ -797,8 +797,9 @@
...
@@ -797,8 +797,9 @@
#define __NR_signalfd (__NR_Linux + 302)
#define __NR_signalfd (__NR_Linux + 302)
#define __NR_timerfd (__NR_Linux + 303)
#define __NR_timerfd (__NR_Linux + 303)
#define __NR_eventfd (__NR_Linux + 304)
#define __NR_eventfd (__NR_Linux + 304)
#define __NR_fallocate (__NR_Linux + 305)
#define __NR_Linux_syscalls (__NR_
eventfd
+ 1)
#define __NR_Linux_syscalls (__NR_
fallocate
+ 1)
#define __IGNORE_select
/* newselect */
#define __IGNORE_select
/* newselect */
...
...
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