xen: mapcache: Refactor lock functions for multi-instance
authorEdgar E. Iglesias <edgar.iglesias@amd.com>
Tue, 30 Apr 2024 16:49:25 +0000 (18:49 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 6 May 2024 12:41:39 +0000 (14:41 +0200)
commitefb0c6caefca19a4c9150306013927c0a2ca828e
tree841f4b1a523d41834279c8e4858a4e1ec1eb5148
parent337265dbf2c35bdfc26f19ed05a71d225318660b
xen: mapcache: Refactor lock functions for multi-instance

Make the lock functions take MapCache * as argument. This is
in preparation for supporting multiple caches.

No functional changes.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Message-ID: <20240430164939.925307-4-edgar.iglesias@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/xen/xen-mapcache.c