: Powerpc: Fix EHCA driver on relocatable kernel
Subsystems (2)
PATCH 1/2 : Powerpc: Fix EHCA driver on relocatable kernel
Some modules (like eHCA) want to map all of kernel memory, for this to work with a relocated kernel, we need to export kernstart_addr so modules can use PHYSICAL_START and memstart_addr so they could use MEMORY_START. Note that the 32bit code already exports these symbols.
arch/powerpc/mm/init_64.c +2 -0
@@ -79,7 +79,9 @@#endif /* CONFIG_PPC_STD_MMU_64 */ phys_addr_t memstart_addr = ~0 ; +EXPORT_SYMBOL (memstart_addr);phys_addr_t kernstart_addr; +EXPORT_SYMBOL (kernstart_addr);void free_initmem (void ) {
Alexander Schmidt
Acked-byQuoted 6 lines · On Thu, 19 Aug 2010 23:08:09 -0500 Sonny Rao…
Some modules (like eHCA) want to map all of kernel memory, for this to work with a relocated kernel, we need to export
kernstart_addrso modules can usePHYSICAL_STARTandmemstart_addrso they could useMEMORY_START. Note that the 32bit code already exports these symbols.Signed-off-by Sonny Rao <sonnyrao-r/[email protected]>
Quoted 14 lines
Index:
common/arch/powerpc/mm/init_64.c
===================================================================arch/powerpc/mm/init_64.c +2
-0@@ -79,7 +79,9 @@#endif /* CONFIG_PPC_STD_MMU_64 */ phys_addr_t memstart_addr = ~0 ; +EXPORT_SYMBOL (memstart_addr);phys_addr_t kernstart_addr; +EXPORT_SYMBOL (kernstart_addr);void free_initmem (void ) {
Quoted 4 lines
_______________________________________________
Linuxppc-dev mailing list Linuxppc-dev-uLR06cmDAlY/[email protected]
https://lists.ozlabs.org/listinfo/linuxppc-dev
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html