* [patch -mm] optional ZONE_DMA for s390
@ 2006-10-24 12:31 Heiko Carstens
2006-10-24 15:32 ` Christoph Lameter
0 siblings, 1 reply; 2+ messages in thread
From: Heiko Carstens @ 2006-10-24 12:31 UTC (permalink / raw)
To: Andrew Morton; +Cc: Christoph Lameter, Martin Schwidefsky, linux-kernel
From: Heiko Carstens <heiko.carstens@de.ibm.com>
For non-64BIT systems all memory is DMA capable.
Cc: Christoph Lameter <clameter@sgi.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
---
arch/s390/Kconfig | 4 ++--
arch/s390/mm/init.c | 1 -
2 files changed, 2 insertions(+), 3 deletions(-)
Index: linux-2.6.19-rc2-mm2/arch/s390/Kconfig
===================================================================
--- linux-2.6.19-rc2-mm2.orig/arch/s390/Kconfig 2006-10-24 14:19:18.000000000 +0200
+++ linux-2.6.19-rc2-mm2/arch/s390/Kconfig 2006-10-24 14:19:40.000000000 +0200
@@ -8,8 +8,8 @@
default y
config ZONE_DMA
- bool
- default y
+ def_bool y
+ depends on 64BIT
config LOCKDEP_SUPPORT
bool
Index: linux-2.6.19-rc2-mm2/arch/s390/mm/init.c
===================================================================
--- linux-2.6.19-rc2-mm2.orig/arch/s390/mm/init.c 2006-10-24 14:19:32.000000000 +0200
+++ linux-2.6.19-rc2-mm2/arch/s390/mm/init.c 2006-10-24 14:19:52.000000000 +0200
@@ -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);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch -mm] optional ZONE_DMA for s390
2006-10-24 12:31 [patch -mm] optional ZONE_DMA for s390 Heiko Carstens
@ 2006-10-24 15:32 ` Christoph Lameter
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Lameter @ 2006-10-24 15:32 UTC (permalink / raw)
To: Heiko Carstens; +Cc: Andrew Morton, Martin Schwidefsky, linux-kernel
On Tue, 24 Oct 2006, Heiko Carstens wrote:
> For non-64BIT systems all memory is DMA capable.
Acked-by: Christoph Lameter <clameter@sgi.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-10-24 15:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-24 12:31 [patch -mm] optional ZONE_DMA for s390 Heiko Carstens
2006-10-24 15:32 ` Christoph Lameter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®