workqueue: Break up enum definitions and give names to the types
authorTejun Heo <tj@kernel.org>
Fri, 26 Jan 2024 21:55:50 +0000 (11:55 -1000)
committerTejun Heo <tj@kernel.org>
Fri, 26 Jan 2024 21:55:50 +0000 (11:55 -1000)
commite563d0a7cdc1890ff36bb177b5c8c2854d881e4d
treecdcb96a85fbf50ad85173a2bcc55817fc0e2f8cb
parent6a229b0e2ff6143b65ba4ef42bd71e29ffc2c16d
workqueue: Break up enum definitions and give names to the types

workqueue is collecting different sorts of enums into a single unnamed enum
type which can increase confusion around enum width. Also, unnamed enums
can't be accessed from BPF. Let's break up enum definitions according to
their purposes and give them type names.

Signed-off-by: Tejun Heo <tj@kernel.org>
include/linux/workqueue.h
kernel/workqueue.c