aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/arm/include/bits/io.h3
-rw-r--r--src/arch/arm/include/ipxe/arm_io.h3
-rw-r--r--src/arch/x86/include/bits/io.h3
-rw-r--r--src/arch/x86/include/ipxe/x86_io.h3
4 files changed, 6 insertions, 6 deletions
diff --git a/src/arch/arm/include/bits/io.h b/src/arch/arm/include/bits/io.h
index 90f6455..272ec12 100644
--- a/src/arch/arm/include/bits/io.h
+++ b/src/arch/arm/include/bits/io.h
@@ -9,6 +9,9 @@
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+/** Page shift */
+#define PAGE_SHIFT 12
+
#include <ipxe/arm_io.h>
#endif /* _BITS_IO_H */
diff --git a/src/arch/arm/include/ipxe/arm_io.h b/src/arch/arm/include/ipxe/arm_io.h
index 105f22b..046cbdb 100644
--- a/src/arch/arm/include/ipxe/arm_io.h
+++ b/src/arch/arm/include/ipxe/arm_io.h
@@ -20,9 +20,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
*
*/
-/** Page shift */
-#define PAGE_SHIFT 12
-
/*
* Physical<->Bus address mappings
*
diff --git a/src/arch/x86/include/bits/io.h b/src/arch/x86/include/bits/io.h
index 60c2e3e..95673ad 100644
--- a/src/arch/x86/include/bits/io.h
+++ b/src/arch/x86/include/bits/io.h
@@ -9,6 +9,9 @@
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+/** Page shift */
+#define PAGE_SHIFT 12
+
#include <ipxe/x86_io.h>
#endif /* _BITS_IO_H */
diff --git a/src/arch/x86/include/ipxe/x86_io.h b/src/arch/x86/include/ipxe/x86_io.h
index a6ebe1f..eeb3f84 100644
--- a/src/arch/x86/include/ipxe/x86_io.h
+++ b/src/arch/x86/include/ipxe/x86_io.h
@@ -28,9 +28,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
*
*/
-/** Page shift */
-#define PAGE_SHIFT 12
-
/*
* Physical<->Bus address mappings
*