From 92257f56a32f16795402cdbeb76a8b4f56ea2369 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 8 Feb 2023 20:17:38 +0100 Subject: slock: Fix initialization of statically-allocated slocks (this is actually a no-op for i386) --- device/dev_lookup.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'device/dev_lookup.c') diff --git a/device/dev_lookup.c b/device/dev_lookup.c index 994452cd..c9c39f88 100644 --- a/device/dev_lookup.c +++ b/device/dev_lookup.c @@ -60,8 +60,7 @@ queue_head_t dev_number_hash_table[NDEVHASH]; * Lock for device-number to device lookup. * Must be held before device-ref_count lock. */ -decl_simple_lock_data(, - dev_number_lock) +def_simple_lock_data(static, dev_number_lock) struct kmem_cache dev_hdr_cache; -- cgit v1.2.3