summaryrefslogtreecommitdiffstats
path: root/arch/hexagon/Kconfig
diff options
context:
space:
mode:
authorMike Rapoport2018-10-27 00:04:44 +0200
committerLinus Torvalds2018-10-27 01:25:20 +0200
commit426dcd4b600f72d9f797eae385d85af4128589cc (patch)
tree6989ea3a5d315c8abf153d6b5f681dee38ba1a39 /arch/hexagon/Kconfig
parentmm: convert insert_pfn() to vm_fault_t (diff)
downloadkernel-qcow2-linux-426dcd4b600f72d9f797eae385d85af4128589cc.tar.gz
kernel-qcow2-linux-426dcd4b600f72d9f797eae385d85af4128589cc.tar.xz
kernel-qcow2-linux-426dcd4b600f72d9f797eae385d85af4128589cc.zip
hexagon: switch to NO_BOOTMEM
Patch series "switch several architectures NO_BOOTMEM". These patches perform conversion to NO_BOOTMEM of hexagon, nios2, uml and unicore32. This patch (of 7): Add registration of the system memory with memblock, eliminate bootmem initialization and convert early memory reservations from bootmem to memblock. Link: http://lkml.kernel.org/r/1533326330-31677-2-git-send-email-rppt@linux.vnet.ibm.com Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Acked-by: Richard Kuo <rkuo@codeaurora.org> Cc: Guan Xuetao <gxt@pku.edu.cn> Cc: Ley Foon Tan <ley.foon.tan@intel.com> Cc: Richard Weinberger <richard@nod.at> Cc: Rob Herring <robh@kernel.org> Cc: Michal Hocko <mhocko@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/hexagon/Kconfig')
-rw-r--r--arch/hexagon/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/hexagon/Kconfig b/arch/hexagon/Kconfig
index 3ef46522e89f..7b25d7c8fa49 100644
--- a/arch/hexagon/Kconfig
+++ b/arch/hexagon/Kconfig
@@ -21,6 +21,9 @@ config HEXAGON
select GENERIC_IRQ_SHOW
select HAVE_ARCH_KGDB
select HAVE_ARCH_TRACEHOOK
+ select HAVE_MEMBLOCK
+ select ARCH_DISCARD_MEMBLOCK
+ select NO_BOOTMEM
select NEED_SG_DMA_LENGTH
select NO_IOPORT_MAP
select GENERIC_IOMAP