]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fs-epoll-use-a-per-cpu-counter-for-users-watches-count-fix
authorRandy Dunlap <rdunlap@infradead.org>
Tue, 24 Aug 2021 00:00:00 +0000 (10:00 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Aug 2021 23:34:54 +0000 (09:34 +1000)
commitc10e07398ef04d754a957430322b17f1acdbcddd
tree3ed3edd0ef2872fd2978abc2a869b9af46bb8c3e
parent5d9d50f0a6031094a720c309afa80bf9294b27b9
fs-epoll-use-a-per-cpu-counter-for-users-watches-count-fix

fix build errors in kernel/user.c when CONFIG_EPOLL=n

Also fix typo: "cpunter" -"counter" in a panic message.

[npiggin@gmail.com: move ifdefs into wrapper functions, slightly improve panic message]
Link: https://lkml.kernel.org/r/1628051945.fens3r99ox.astroid@bobo.none
Fixes: e75b89477811 ("fs/epoll: use a per-cpu counter for user's watches count")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
kernel/user.c