artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1ea535
)
store xarray flags for XA_FLAGS_ALLOC1 test in alloc
author
jsg
<jsg@openbsd.org>
Mon, 30 Sep 2024 12:09:04 +0000
(12:09 +0000)
committer
jsg
<jsg@openbsd.org>
Mon, 30 Sep 2024 12:09:04 +0000
(12:09 +0000)
sys/dev/pci/drm/drm_linux.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/drm_linux.c
b/sys/dev/pci/drm/drm_linux.c
index
f7a7a10
..
b7b26e3
100644
(file)
--- a/
sys/dev/pci/drm/drm_linux.c
+++ b/
sys/dev/pci/drm/drm_linux.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: drm_linux.c,v 1.11
7 2024/09/30 08:09:39 mpi
Exp $ */
+/* $OpenBSD: drm_linux.c,v 1.11
8 2024/09/30 12:09:04 jsg
Exp $ */
/*
* Copyright (c) 2013 Jonathan Gray <jsg@openbsd.org>
* Copyright (c) 2015, 2016 Mark Kettenis <kettenis@openbsd.org>
@@
-987,6
+987,7
@@
xa_init_flags(struct xarray *xa, gfp_t flags)
mtx_init(&xa->xa_lock, IPL_TTY);
else
mtx_init(&xa->xa_lock, IPL_NONE);
+ xa->xa_flags = flags;
}
void