aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Qilong <[email protected]>2022-11-24 22:01:54 +0800
committerAndrew Morton <[email protected]>2022-12-11 19:30:18 -0800
commitfd4e60bf0ef8eb9edcfa12dda39e8b6ee9060492 (patch)
treeab343f766afa61de822f38eb729712d35efa7742
parent02d7d89f816951e0862147d751b1150d67aaebdd (diff)
eventfd: change int to __u64 in eventfd_signal() ifndef CONFIG_EVENTFD
Commit ee62c6b2dc93 ("eventfd: change int to __u64 in eventfd_signal()") forgot to change int to __u64 in the CONFIG_EVENTFD=n stub function. Link: https://lkml.kernel.org/r/[email protected] Fixes: ee62c6b2dc93 ("eventfd: change int to __u64 in eventfd_signal()") Signed-off-by: Zhang Qilong <[email protected]> Cc: Dylan Yudaken <[email protected]> Cc: Jens Axboe <[email protected]> Cc: Sha Zhengju <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
-rw-r--r--include/linux/eventfd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/eventfd.h b/include/linux/eventfd.h
index 30eb30d6909b..3cd202d3eefb 100644
--- a/include/linux/eventfd.h
+++ b/include/linux/eventfd.h
@@ -61,7 +61,7 @@ static inline struct eventfd_ctx *eventfd_ctx_fdget(int fd)
return ERR_PTR(-ENOSYS);
}
-static inline int eventfd_signal(struct eventfd_ctx *ctx, int n)
+static inline int eventfd_signal(struct eventfd_ctx *ctx, __u64 n)
{
return -ENOSYS;
}