CVSROOT:        /cvs
Module name:    src
Changes by:     j...@cvs.openbsd.org    2020/11/11 21:36:22

Modified files:
        sys/dev/pci/drm/include/linux: mutex.h 
        sys/dev/pci/drm/ttm: ttm_page_alloc.c 

Log message:
use RWLOCK_INITIALIZER() in DEFINE_MUTEX()
Gives rwlocks defined this way a non-NULL rwl_name.

Move ttm_pool_shrink_scan() DEFINE_MUTEX use out of function scope to fix
build with WITNESS after this change and expand macro to have a better
name than "lock".

Found by and ok semarie@

Reply via email to