Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
Linux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
E-EXK4 - Operating System Group
projects
Linux
Commits
2cfc5be7
Commit
2cfc5be7
authored
17 years ago
by
Kyle McMartin
Committed by
Kyle McMartin
17 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[PARISC] Wire up sys_fallocate (and compat_sys_fallocate)
Signed-off-by:
Kyle McMartin
<
kyle@mcmartin.ca
>
parent
d85714d8
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
arch/parisc/kernel/sys_parisc32.c
+7
-0
7 additions, 0 deletions
arch/parisc/kernel/sys_parisc32.c
arch/parisc/kernel/syscall_table.S
+1
-0
1 addition, 0 deletions
arch/parisc/kernel/syscall_table.S
include/asm-parisc/unistd.h
+2
-1
2 additions, 1 deletion
include/asm-parisc/unistd.h
with
10 additions
and
1 deletion
arch/parisc/kernel/sys_parisc32.c
+
7
−
0
View file @
2cfc5be7
...
...
@@ -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
,
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
);
}
This diff is collapsed.
Click to expand it.
arch/parisc/kernel/syscall_table.S
+
1
−
0
View file @
2cfc5be7
...
...
@@ -403,6 +403,7 @@
ENTRY_COMP
(
signalfd
)
ENTRY_COMP
(
timerfd
)
ENTRY_SAME
(
eventfd
)
ENTRY_COMP
(
fallocate
)
/*
305
*/
/
*
Nothing
yet
*/
...
...
This diff is collapsed.
Click to expand it.
include/asm-parisc/unistd.h
+
2
−
1
View file @
2cfc5be7
...
...
@@ -797,8 +797,9 @@
#define __NR_signalfd (__NR_Linux + 302)
#define __NR_timerfd (__NR_Linux + 303)
#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 */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment