[PATCH v3 3/5] powerpc/mm: add radix__create_section_mapping()

Reza Arbab arbab at linux.vnet.ibm.com
Wed Dec 21 02:32:39 AEDT 2016


On Tue, Dec 20, 2016 at 05:28:40PM +1100, Balbir Singh wrote:
>>+#ifdef CONFIG_MEMORY_HOTPLUG
>>+int radix__create_section_mapping(unsigned long start, unsigned long end)
>>+{
>>+	unsigned long page_size = 1 << mmu_psize_defs[mmu_linear_psize].shift;
>
>Can we refactor bits from radix_init_pgtable() and reuse?

Yes, that's my plan for v4.

-- 
Reza Arbab



More information about the Linuxppc-dev mailing list