Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66070
b: refs/heads/master
c: 3317fed
h: refs/heads/master
v: v3
  • Loading branch information
Dhaval Giani authored and Jens Axboe committed Oct 10, 2007
1 parent e64c437 commit 9420e88
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 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: db47d475371bc85dd122112e957669cbbcc70dee
refs/heads/master: 3317fedba9446465082bcc6ce1232451ad1d51ce
11 changes: 9 additions & 2 deletions trunk/Documentation/block/ioprio.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,15 @@ extern int sys_ioprio_get(int, int);
#error "Unsupported arch"
#endif

_syscall3(int, ioprio_set, int, which, int, who, int, ioprio);
_syscall2(int, ioprio_get, int, which, int, who);
static inline int ioprio_set(int which, int who, int ioprio)
{
return syscall(__NR_ioprio_set, which, who, ioprio);
}

static inline int ioprio_get(int which, int who)
{
return syscall(__NR_ioprio_get, which, who);
}

enum {
IOPRIO_CLASS_NONE,
Expand Down

0 comments on commit 9420e88

Please sign in to comment.