optional ZONE_DMA for s390
PATCH 1/1 optional ZONE_DMA for s390
From: Heiko Carstens <[email protected]>
For non-64BIT systems all memory is DMA capable.
Cc Christoph Lameter <[email protected]>
Cc Martin Schwidefsky <[email protected]>
Signed-off-by Heiko Carstens <[email protected]>
--- arch/s390/Kconfig | 4 ++-- arch/s390/mm/init.c | 1 - 2 files changed, 2 insertions(+), 3 deletions(-)
arch/s390/Kconfig +2 -2
@@ -8,8 +8,8 @@ default y config ZONE_DMA - bool - default y + def_bool y + depends on 64BIT config LOCKDEP_SUPPORT bool
arch/s390/mm/init.c +0 -1
@@ -106,7 +106,6 @@ ro_end_pfn =PFN_UP ((unsigned long )&__end_rodata);memset (max_zone_pfns,0 ,sizeof (max_zone_pfns)); - max_zone_pfns[ZONE_DMA ] = max_low_pfn; max_zone_pfns[ZONE_NORMAL ] = max_low_pfn;free_area_init_nodes (max_zone_pfns);
Quoted 1 line · Heiko Carstens
For non-64BIT systems all memory is DMA capable.