[RFC PATCH v3 2/3] powerpc: udbg: add fixmap entry for early debug
Albert Herranz
albert_herranz at yahoo.es
Tue Dec 1 10:09:49 EST 2009
Add a new entry to the fixmap table to allow low level early udbg drivers
to safely reserve virtual address space and create their I/O mappings.
Signed-off-by: Albert Herranz <albert_herranz at yahoo.es>
---
arch/powerpc/include/asm/fixmap.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/include/asm/fixmap.h b/arch/powerpc/include/asm/fixmap.h
index f1f4e23..424e5a6 100644
--- a/arch/powerpc/include/asm/fixmap.h
+++ b/arch/powerpc/include/asm/fixmap.h
@@ -48,6 +48,9 @@ enum fixed_addresses {
FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */
FIX_KMAP_END = FIX_KMAP_BEGIN+(KM_TYPE_NR*NR_CPUS)-1,
#endif
+#ifdef CONFIG_PPC_EARLY_DEBUG
+ FIX_EARLY_DEBUG_BASE,
+#endif
/* FIX_PCIE_MCFG, */
__end_of_fixed_addresses
};
--
1.6.3.3
More information about the Linuxppc-dev
mailing list