Skip to content

Commit

Permalink
[PATCH] optional ZONE_DMA: remove ZONE_DMA remains from parisc
Browse files Browse the repository at this point in the history
Remove ZONE_DMA remains from parisc so that kernels are build without
ZONE_DMA.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: Matthew Wilcox <willy@debian.org>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Christoph Lameter authored and Linus Torvalds committed Feb 11, 2007
1 parent 09ae1f5 commit 0059283
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions arch/parisc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ config TIME_LOW_RES
depends on SMP
default y

config GENERIC_ISA_DMA
bool

config GENERIC_HARDIRQS
def_bool y

Expand Down
4 changes: 1 addition & 3 deletions arch/parisc/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -808,9 +808,7 @@ void __init paging_init(void)
for (i = 0; i < npmem_ranges; i++) {
unsigned long zones_size[MAX_NR_ZONES] = { 0, };

/* We have an IOMMU, so all memory can go into a single
ZONE_DMA zone. */
zones_size[ZONE_DMA] = pmem_ranges[i].pages;
zones_size[ZONE_NORMAL] = pmem_ranges[i].pages;

#ifdef CONFIG_DISCONTIGMEM
/* Need to initialize the pfnnid_map before we can initialize
Expand Down

0 comments on commit 0059283

Please sign in to comment.