drm: put_cpu() should enable preemption, not disable it again

This commit is contained in:
chs 2023-12-29 22:58:23 +00:00
parent 5971e316fd
commit 5b8c340b31
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: smp.h,v 1.4 2021/12/19 11:49:12 riastradh Exp $ */
/* $NetBSD: smp.h,v 1.5 2023/12/29 22:58:23 chs Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@ -50,7 +50,7 @@ static inline void
put_cpu(void)
{
kpreempt_disable();
kpreempt_enable();
}
static inline void