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) --- xen/console.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xen/console.c') diff --git a/xen/console.c b/xen/console.c index 0bf2f712..61de4390 100644 --- a/xen/console.c +++ b/xen/console.c @@ -29,8 +29,8 @@ /* Hypervisor part */ -decl_simple_lock_data(static, outlock); -decl_simple_lock_data(static, inlock); +def_simple_lock_data(static, outlock); +def_simple_lock_data(static, inlock); static struct xencons_interface *console; static int kd_pollc; int kb_mode; /* XXX: actually don't care. */ -- cgit v1.2.3