From 92257f56a32f16795402cdbeb76a8b4f56ea2369 Mon Sep 17 00:00:00 2001 From: Samuel Thibault <samuel.thibault@ens-lyon.org> 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 ++-- xen/grant.c | 2 +- xen/store.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'xen') 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. */ diff --git a/xen/grant.c b/xen/grant.c index 1d6e607b..84758cfc 100644 --- a/xen/grant.c +++ b/xen/grant.c @@ -28,7 +28,7 @@ #define NR_RESERVED_ENTRIES 8 #define NR_GRANT_PAGES 8 -decl_simple_lock_data(static,lock); +def_simple_lock_data(static,lock); static struct grant_entry *grants; static vm_map_entry_t grants_map_entry; static int last_grant = NR_RESERVED_ENTRIES; diff --git a/xen/store.c b/xen/store.c index 23cbc223..5f5a902a 100644 --- a/xen/store.c +++ b/xen/store.c @@ -36,7 +36,7 @@ /* Hypervisor part */ -decl_simple_lock_data(static, lock); +def_simple_lock_data(static, lock); static struct xenstore_domain_interface *store; -- cgit v1.2.3