diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2026-04-02 22:59:03 +0200 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-04-03 07:14:24 -1000 |
| commit | c6890f36fc49848c61d2113a3442eb1b59e0bc4b (patch) | |
| tree | 7b001e2f545aded14218352d2d070e1644289d02 /include/linux/workqueue.h | |
| parent | 41e3ccca00b374b7f39cf68e818b59a921cd7069 (diff) | |
workqueue: avoid unguarded 64-bit division
The printk() requires a division that is not allowed on 32-bit architectures:
x86_64-linux-ld: lib/test_workqueue.o: in function `test_workqueue_init':
test_workqueue.c:(.init.text+0x36f): undefined reference to `__udivdi3'
Use div_u64() to print the resulting elapsed microseconds.
Fixes: 24b2e73f9700 ("workqueue: add test_workqueue benchmark module")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions
