]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Move of_drconf_cell struct to asm/drmem.h
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Fri, 1 Dec 2017 16:47:42 +0000 (10:47 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 16 Jan 2018 12:26:29 +0000 (23:26 +1100)
commitfab712726f46a69c1c3e479ce691fd2eea403e8a
treeef539ecf931aec892d3e80e9c657e8eb2c49506d
parente815bf172dd4469148d5a96b50ba82713136ffec
powerpc: Move of_drconf_cell struct to asm/drmem.h

Now that the powerpc code parses dynamic reconfiguration memory
LMB information from the LMB array and not the device tree
directly we can move the of_drconf_cell struct to drmem.h where
it fits better.

In addition, the struct is renamed to of_drconf_cell_v1 in
anticipation of upcoming support for version 2 of the dynamic
reconfiguration property and the members are typed as __be*
values to reflect how they exist in the device tree.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/drmem.h
arch/powerpc/include/asm/prom.h
arch/powerpc/mm/drmem.c
arch/powerpc/platforms/pseries/hotplug-memory.c