diff options
author | Christoph Hellwig <hch@lst.de> | 2018-10-14 21:13:04 +0300 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2018-10-15 22:36:20 +0300 |
commit | fe278d1a959283c185ceef0703d8570bf907b95d (patch) | |
tree | 5cbcd0f2c8447ba32cbbac9131a28febb78a123a /arch/xtensa/mm | |
parent | 35a7f35ad1b150ddf59a41dcac7b2fa32982be0e (diff) | |
download | linux-fe278d1a959283c185ceef0703d8570bf907b95d.tar.xz |
xtensa: remove ZONE_DMA
ZONE_DMA is intended for magic < 32-bit pools (usually ISA DMA), which
isn't required on xtensa. Move all the non-highmem memory into
ZONE_NORMAL instead to match other architectures.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/mm')
-rw-r--r-- | arch/xtensa/mm/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/mm/init.c b/arch/xtensa/mm/init.c index 34aead7dcb48..b385e6b73065 100644 --- a/arch/xtensa/mm/init.c +++ b/arch/xtensa/mm/init.c @@ -71,7 +71,7 @@ void __init zones_init(void) { /* All pages are DMA-able, so we put them all in the DMA zone. */ unsigned long zones_size[MAX_NR_ZONES] = { - [ZONE_DMA] = max_low_pfn - ARCH_PFN_OFFSET, + [ZONE_NORMAL] = max_low_pfn - ARCH_PFN_OFFSET, #ifdef CONFIG_HIGHMEM [ZONE_HIGHMEM] = max_pfn - max_low_pfn, #endif |