]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/ttm/tests: Fix build failure on PREEMPT_RT
authorMaarten Lankhorst <dev@lankhorst.se>
Wed, 4 Mar 2026 08:56:16 +0000 (09:56 +0100)
committerMaarten Lankhorst <dev@lankhorst.se>
Wed, 4 Mar 2026 10:31:54 +0000 (11:31 +0100)
commita58d487fb1a52579d3c37544ea371da78ed70c45
tree9dffb4a19c7cc8e14e755b693f65be718dc94fb3
parent61ded1083b264ff67ca8c2de822c66b6febaf9a8
drm/ttm/tests: Fix build failure on PREEMPT_RT

Fix a compile error in the kunit tests when CONFIG_PREEMPT_RT is
enabled, and the normal mutex is converted into a rtmutex.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202602261547.3bM6yVAS-lkp@intel.com/
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://patch.msgid.link/20260304085616.1216961-1-dev@lankhorst.se
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
drivers/gpu/drm/ttm/tests/ttm_bo_test.c