|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [RFC PATCH v2 05/25] x86: NUMA: Move generic dummy_numa_init to separate function
>>> <vijay.kilari@xxxxxxxxx> 03/28/17 5:54 PM >>>
> @@ -301,6 +290,22 @@ void __init numa_initmem_init(unsigned long start_pfn,
> unsigned long end_pfn)
> (paddr_t)end_pfn << PAGE_SHIFT);
> }
>
> +void __init numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn)
> +{
> +#ifdef CONFIG_NUMA_EMU
> + if ( get_numa_fake() && !numa_emulation(start_pfn, end_pfn) )
> + return;
> +#endif
> +
> +#ifdef CONFIG_ACPI_NUMA
> + if ( !is_numa_off() && !acpi_scan_nodes((uint64_t)start_pfn <<
> PAGE_SHIFT,
> + (uint64_t)end_pfn << PAGE_SHIFT) )
Please use pfn_to_paddr() as you move this code.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |