Re: [PATCH v13 4/6] arm64: Move unflatten_device_tree() call earlier.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 2, 2016 at 4:56 PM, David Daney <ddaney.cavm@xxxxxxxxx> wrote:
> From: David Daney <david.daney@xxxxxxxxxx>
>
> In order to extract NUMA information from the device tree, we need to
> have the tree in its unflattened form.
>
> Move the call to unflatten_device_tree() into paging_init().  This
> puts it before the call to bootmem_init(), which is where the NUMA
> information is extracted.

Can't you just move up unflatten_device_tree in setup_arch rather than
hiding in paging_init?

> Signed-off-by: David Daney <david.daney@xxxxxxxxxx>
> ---
>  arch/arm64/kernel/setup.c | 7 +++----
>  arch/arm64/mm/mmu.c       | 5 +++++
>  2 files changed, 8 insertions(+), 4 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-efi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux