projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
constify dentry_operations: FAT
[platform/kernel/linux-starfive.git]
/
fs
/
ioprio.c
diff --git
a/fs/ioprio.c
b/fs/ioprio.c
index
1a39ac3
..
c7c0b28
100644
(file)
--- a/
fs/ioprio.c
+++ b/
fs/ioprio.c
@@
-72,7
+72,7
@@
int set_task_ioprio(struct task_struct *task, int ioprio)
}
EXPORT_SYMBOL_GPL(set_task_ioprio);
}
EXPORT_SYMBOL_GPL(set_task_ioprio);
-
asmlinkage long sys_ioprio_set(int which, int who, int
ioprio)
+
SYSCALL_DEFINE3(ioprio_set, int, which, int, who, int,
ioprio)
{
int class = IOPRIO_PRIO_CLASS(ioprio);
int data = IOPRIO_PRIO_DATA(ioprio);
{
int class = IOPRIO_PRIO_CLASS(ioprio);
int data = IOPRIO_PRIO_DATA(ioprio);
@@
-188,7
+188,7
@@
int ioprio_best(unsigned short aprio, unsigned short bprio)
return aprio;
}
return aprio;
}
-
asmlinkage long sys_ioprio_get(int which, int
who)
+
SYSCALL_DEFINE2(ioprio_get, int, which, int,
who)
{
struct task_struct *g, *p;
struct user_struct *user;
{
struct task_struct *g, *p;
struct user_struct *user;
@@
-252,4
+252,3
@@
asmlinkage long sys_ioprio_get(int which, int who)
read_unlock(&tasklist_lock);
return ret;
}
read_unlock(&tasklist_lock);
return ret;
}
-