Messages in this thread | | | From | Frederic Weisbecker <> | Date | Mon, 11 Dec 2017 15:52:11 +0100 | Subject | Re: [RESEND PATCH] irq_work: improve the flag definitions |
| |
2017-11-27 11:52 UTC+01:00, Bartosz Golaszewski <brgl@bgdev.pl>: > IRQ_WORK_FLAGS is defined simply to 3UL. This is confusing as it > says nothing about its purpose. Define IRQ_WORK_FLAGS as a bitwise > OR of IRQ_WORK_PENDING and IRQ_WORK_BUSY and change its name to > IRQ_WORK_CLAIMED. > > While we're at it: use the BIT() macro for all flags. > > Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Nice!
Acked-by: Frederic Weisbecker <frederic@kernel.org>
| |