[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 08 Aug 2023 11:29:53 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
Florian Fainelli <f.fainelli@...il.com>
Cc: linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org,
Linus Walleij <linus.walleij@...aro.org>
Subject: [PATCH] MIPS: Drop virt_to_phys define to self
The function virt_to_phys was defined to virt_to_phys and then
implemented right below.
I can't understand why, just drop it and let the actual function
slot in.
Fixes: dfad83cb7193 ("MIPS: Add support for CONFIG_DEBUG_VIRTUAL")
Signed-off-by: Linus Walleij <linus.walleij@...aro.org>
---
arch/mips/include/asm/io.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/mips/include/asm/io.h b/arch/mips/include/asm/io.h
index affd21e9c20b..18ed44843541 100644
--- a/arch/mips/include/asm/io.h
+++ b/arch/mips/include/asm/io.h
@@ -111,7 +111,6 @@ extern phys_addr_t __virt_to_phys(volatile const void *x);
#define __virt_to_phys(x) __virt_to_phys_nodebug(x)
#endif
-#define virt_to_phys virt_to_phys
static inline phys_addr_t virt_to_phys(const volatile void *x)
{
return __virt_to_phys(x);
---
base-commit: 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
change-id: 20230808-virt-to-phys-mips-226e409a84a7
Best regards,
--
Linus Walleij <linus.walleij@...aro.org>
Powered by blists - more mailing lists