diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-02-12 03:13:31 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-02-12 18:15:46 -0500 |
commit | 1b51d3a08b6c80a1e47d4c579c41abbe56cd3c44 (patch) | |
tree | feeda896ab0869c41d50d1076926188628a9a40f | |
parent | fd19e44f449f7e2e58d42d7bb6813e2292c38fba (diff) |
[SPARC64]: We do not need ZONE_DMA.
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | arch/sparc64/Kconfig | 8 | ||||
-rw-r--r-- | arch/sparc64/defconfig | 13 | ||||
-rw-r--r-- | arch/sparc64/mm/init.c | 4 |
3 files changed, 10 insertions, 15 deletions
diff --git a/arch/sparc64/Kconfig b/arch/sparc64/Kconfig index fb84647dbf3d..f75a686ba644 100644 --- a/arch/sparc64/Kconfig +++ b/arch/sparc64/Kconfig | |||
@@ -232,14 +232,6 @@ config LARGE_ALLOCS | |||
232 | 232 | ||
233 | source "mm/Kconfig" | 233 | source "mm/Kconfig" |
234 | 234 | ||
235 | config ZONE_DMA | ||
236 | bool | ||
237 | default y | ||
238 | |||
239 | config GENERIC_ISA_DMA | ||
240 | bool | ||
241 | default y | ||
242 | |||
243 | config ISA | 235 | config ISA |
244 | bool | 236 | bool |
245 | help | 237 | help |
diff --git a/arch/sparc64/defconfig b/arch/sparc64/defconfig index 069ee3ccd849..0f44a6a6675f 100644 --- a/arch/sparc64/defconfig +++ b/arch/sparc64/defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.20 | 3 | # Linux kernel version: 2.6.20 |
4 | # Sat Feb 10 23:08:12 2007 | 4 | # Sun Feb 11 23:47:40 2007 |
5 | # | 5 | # |
6 | CONFIG_SPARC=y | 6 | CONFIG_SPARC=y |
7 | CONFIG_SPARC64=y | 7 | CONFIG_SPARC64=y |
@@ -49,7 +49,6 @@ CONFIG_POSIX_MQUEUE=y | |||
49 | # CONFIG_IKCONFIG is not set | 49 | # CONFIG_IKCONFIG is not set |
50 | CONFIG_SYSFS_DEPRECATED=y | 50 | CONFIG_SYSFS_DEPRECATED=y |
51 | CONFIG_RELAY=y | 51 | CONFIG_RELAY=y |
52 | CONFIG_INITRAMFS_SOURCE="" | ||
53 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | 52 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y |
54 | CONFIG_SYSCTL=y | 53 | CONFIG_SYSCTL=y |
55 | # CONFIG_EMBEDDED is not set | 54 | # CONFIG_EMBEDDED is not set |
@@ -144,7 +143,7 @@ CONFIG_HAVE_MEMORY_PRESENT=y | |||
144 | CONFIG_SPARSEMEM_EXTREME=y | 143 | CONFIG_SPARSEMEM_EXTREME=y |
145 | CONFIG_SPLIT_PTLOCK_CPUS=4 | 144 | CONFIG_SPLIT_PTLOCK_CPUS=4 |
146 | CONFIG_RESOURCES_64BIT=y | 145 | CONFIG_RESOURCES_64BIT=y |
147 | CONFIG_GENERIC_ISA_DMA=y | 146 | CONFIG_ZONE_DMA_FLAG=0 |
148 | CONFIG_SBUS=y | 147 | CONFIG_SBUS=y |
149 | CONFIG_SBUSCHAR=y | 148 | CONFIG_SBUSCHAR=y |
150 | CONFIG_SUN_AUXIO=y | 149 | CONFIG_SUN_AUXIO=y |
@@ -1260,6 +1259,10 @@ CONFIG_USB_HIDDEV=y | |||
1260 | # | 1259 | # |
1261 | 1260 | ||
1262 | # | 1261 | # |
1262 | # Auxiliary Display support | ||
1263 | # | ||
1264 | |||
1265 | # | ||
1263 | # Virtualization | 1266 | # Virtualization |
1264 | # | 1267 | # |
1265 | 1268 | ||
@@ -1450,7 +1453,6 @@ CONFIG_SCHEDSTATS=y | |||
1450 | # CONFIG_RT_MUTEX_TESTER is not set | 1453 | # CONFIG_RT_MUTEX_TESTER is not set |
1451 | # CONFIG_DEBUG_SPINLOCK is not set | 1454 | # CONFIG_DEBUG_SPINLOCK is not set |
1452 | # CONFIG_DEBUG_MUTEXES is not set | 1455 | # CONFIG_DEBUG_MUTEXES is not set |
1453 | # CONFIG_DEBUG_RWSEMS is not set | ||
1454 | # CONFIG_DEBUG_LOCK_ALLOC is not set | 1456 | # CONFIG_DEBUG_LOCK_ALLOC is not set |
1455 | # CONFIG_PROVE_LOCKING is not set | 1457 | # CONFIG_PROVE_LOCKING is not set |
1456 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | 1458 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set |
@@ -1533,4 +1535,5 @@ CONFIG_LIBCRC32C=m | |||
1533 | CONFIG_ZLIB_INFLATE=y | 1535 | CONFIG_ZLIB_INFLATE=y |
1534 | CONFIG_ZLIB_DEFLATE=y | 1536 | CONFIG_ZLIB_DEFLATE=y |
1535 | CONFIG_PLIST=y | 1537 | CONFIG_PLIST=y |
1536 | CONFIG_IOMAP_COPY=y | 1538 | CONFIG_HAS_IOMEM=y |
1539 | CONFIG_HAS_IOPORT=y | ||
diff --git a/arch/sparc64/mm/init.c b/arch/sparc64/mm/init.c index 09d434f41e4b..b1a1ee0cc6bd 100644 --- a/arch/sparc64/mm/init.c +++ b/arch/sparc64/mm/init.c | |||
@@ -1467,8 +1467,8 @@ void __init paging_init(void) | |||
1467 | for (znum = 0; znum < MAX_NR_ZONES; znum++) | 1467 | for (znum = 0; znum < MAX_NR_ZONES; znum++) |
1468 | zones_size[znum] = zholes_size[znum] = 0; | 1468 | zones_size[znum] = zholes_size[znum] = 0; |
1469 | 1469 | ||
1470 | zones_size[ZONE_DMA] = end_pfn; | 1470 | zones_size[ZONE_NORMAL] = end_pfn; |
1471 | zholes_size[ZONE_DMA] = end_pfn - pages_avail; | 1471 | zholes_size[ZONE_NORMAL] = end_pfn - pages_avail; |
1472 | 1472 | ||
1473 | free_area_init_node(0, &contig_page_data, zones_size, | 1473 | free_area_init_node(0, &contig_page_data, zones_size, |
1474 | __pa(PAGE_OFFSET) >> PAGE_SHIFT, | 1474 | __pa(PAGE_OFFSET) >> PAGE_SHIFT, |