mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: mmu: include <asm/io.h> from <mmu.h>
@ 2025-12-11 20:34 Ahmad Fatoum
  2025-12-15  7:15 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2025-12-11 20:34 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

To make sure virt_to_phys() is always defined, include the relevant
header.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 include/mmu.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/mmu.h b/include/mmu.h
index 29992ae1d6c6..f79619808829 100644
--- a/include/mmu.h
+++ b/include/mmu.h
@@ -27,6 +27,7 @@
 #define MAP_DEFAULT	MAP_ARCH_DEFAULT
 
 #include <asm/mmu.h>
+#include <asm/io.h>
 
 static inline bool maptype_is_compatible(maptype_t active, maptype_t check)
 {
-- 
2.47.3




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: mmu: include <asm/io.h> from <mmu.h>
  2025-12-11 20:34 [PATCH] ARM: mmu: include <asm/io.h> from <mmu.h> Ahmad Fatoum
@ 2025-12-15  7:15 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2025-12-15  7:15 UTC (permalink / raw)
  To: barebox, Ahmad Fatoum


On Thu, 11 Dec 2025 21:34:54 +0100, Ahmad Fatoum wrote:
> To make sure virt_to_phys() is always defined, include the relevant
> header.
> 
> 

Applied, thanks!

[1/1] ARM: mmu: include <asm/io.h> from <mmu.h>
      https://git.pengutronix.de/cgit/barebox/commit/?id=4f82342bc0df (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-12-15  7:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-11 20:34 [PATCH] ARM: mmu: include <asm/io.h> from <mmu.h> Ahmad Fatoum
2025-12-15  7:15 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox