Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4217
b: refs/heads/master
c: cf36680
h: refs/heads/master
i:
  4215: 19131c1
v: v3
  • Loading branch information
Anton Blanchard authored and Linus Torvalds committed Jul 8, 2005
1 parent 8a5a3f9 commit dc3b1fa
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8dc4fd87f229414fc38648508aad7def2275fe81
refs/heads/master: cf36680887d6d942d2119c1ff1dfb2428b0f21f4
4 changes: 2 additions & 2 deletions trunk/fs/ioprio.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ static int set_task_ioprio(struct task_struct *task, int ioprio)
return 0;
}

asmlinkage int sys_ioprio_set(int which, int who, int ioprio)
asmlinkage long sys_ioprio_set(int which, int who, int ioprio)
{
int class = IOPRIO_PRIO_CLASS(ioprio);
int data = IOPRIO_PRIO_DATA(ioprio);
Expand Down Expand Up @@ -115,7 +115,7 @@ asmlinkage int sys_ioprio_set(int which, int who, int ioprio)
return ret;
}

asmlinkage int sys_ioprio_get(int which, int who)
asmlinkage long sys_ioprio_get(int which, int who)
{
struct task_struct *g, *p;
struct user_struct *user;
Expand Down
3 changes: 0 additions & 3 deletions trunk/include/linux/ioprio.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ enum {
*/
#define IOPRIO_BE_NR (8)

asmlinkage int sys_ioprio_set(int, int, int);
asmlinkage int sys_ioprio_get(int, int);

enum {
IOPRIO_WHO_PROCESS = 1,
IOPRIO_WHO_PGRP,
Expand Down
3 changes: 3 additions & 0 deletions trunk/include/linux/syscalls.h
Original file line number Diff line number Diff line change
Expand Up @@ -506,4 +506,7 @@ asmlinkage long sys_request_key(const char __user *_type,
asmlinkage long sys_keyctl(int cmd, unsigned long arg2, unsigned long arg3,
unsigned long arg4, unsigned long arg5);

asmlinkage long sys_ioprio_set(int which, int who, int ioprio);
asmlinkage long sys_ioprio_get(int which, int who);

#endif

0 comments on commit dc3b1fa

Please sign in to comment.