From: jsg Date: Mon, 30 Sep 2024 12:09:04 +0000 (+0000) Subject: store xarray flags for XA_FLAGS_ALLOC1 test in alloc X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=43925f44704f439e626f6646fe69b31efe1a3c6d;p=openbsd store xarray flags for XA_FLAGS_ALLOC1 test in alloc --- diff --git a/sys/dev/pci/drm/drm_linux.c b/sys/dev/pci/drm/drm_linux.c index f7a7a106e32..b7b26e3e65d 100644 --- 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.117 2024/09/30 08:09:39 mpi Exp $ */ +/* $OpenBSD: drm_linux.c,v 1.118 2024/09/30 12:09:04 jsg Exp $ */ /* * Copyright (c) 2013 Jonathan Gray * Copyright (c) 2015, 2016 Mark Kettenis @@ -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