diff options
author | Sha Zhengju <handai.szj@taobao.com> | 2012-05-31 23:26:41 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-06-01 00:49:32 (GMT) |
commit | ee62c6b2dc93c09585b51fad18449dc5edb9977f (patch) | |
tree | 538f5338f6a00d1a4cee9e69ba74082747a452aa /block | |
parent | 71ca97da9d027009d318d319cbacf54a72f666c1 (diff) | |
download | linux-ee62c6b2dc93c09585b51fad18449dc5edb9977f.tar.xz |
eventfd: change int to __u64 in eventfd_signal()
eventfd_ctx->count is an __u64 counter which is allowed to reach
ULLONG_MAX. eventfd_write() adds a __u64 value to "count", but the kernel
side eventfd_signal() only adds an int value to it. Make them consistent.
[akpm@linux-foundation.org: update interface documentation]
Signed-off-by: Sha Zhengju <handai.szj@taobao.com>
Cc: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions