From 9845563450b88c77710c8b7e19d98b140cb542c4 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Mon, 22 May 2023 07:28:25 +0200 Subject: treewide: use remap_range instead of arch_remap_range The remapping in arch_remap_range is currently limited to attributes. In a later commit, we'll start supporting non-1:1 remappings. We'll keep remap_range as is for 1:1, so as preparation, let's switch all arch_remap_range users that want 1:1 remappings to remap_range. Signed-off-by: Ahmad Fatoum Link: https://lore.barebox.org/20230522052835.1039143-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer --- drivers/hab/habv4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers') diff --git a/drivers/hab/habv4.c b/drivers/hab/habv4.c index e8c7d3264d..b10c92ec76 100644 --- a/drivers/hab/habv4.c +++ b/drivers/hab/habv4.c @@ -619,7 +619,7 @@ static int init_imx6_hab_get_status(void) /* can happen in multi-image builds and is not an error */ return 0; - arch_remap_range(0x0, SZ_1M, MAP_CACHED); + remap_range(0x0, SZ_1M, MAP_CACHED); /* * Nobody will check the return value if there were HAB errors, but the -- cgit v1.2.3