aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/sparc64/Kconfig8
-rw-r--r--arch/sparc64/defconfig13
-rw-r--r--arch/sparc64/mm/init.c4
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
233source "mm/Kconfig" 233source "mm/Kconfig"
234 234
235config ZONE_DMA
236 bool
237 default y
238
239config GENERIC_ISA_DMA
240 bool
241 default y
242
243config ISA 235config 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#
6CONFIG_SPARC=y 6CONFIG_SPARC=y
7CONFIG_SPARC64=y 7CONFIG_SPARC64=y
@@ -49,7 +49,6 @@ CONFIG_POSIX_MQUEUE=y
49# CONFIG_IKCONFIG is not set 49# CONFIG_IKCONFIG is not set
50CONFIG_SYSFS_DEPRECATED=y 50CONFIG_SYSFS_DEPRECATED=y
51CONFIG_RELAY=y 51CONFIG_RELAY=y
52CONFIG_INITRAMFS_SOURCE=""
53CONFIG_CC_OPTIMIZE_FOR_SIZE=y 52CONFIG_CC_OPTIMIZE_FOR_SIZE=y
54CONFIG_SYSCTL=y 53CONFIG_SYSCTL=y
55# CONFIG_EMBEDDED is not set 54# CONFIG_EMBEDDED is not set
@@ -144,7 +143,7 @@ CONFIG_HAVE_MEMORY_PRESENT=y
144CONFIG_SPARSEMEM_EXTREME=y 143CONFIG_SPARSEMEM_EXTREME=y
145CONFIG_SPLIT_PTLOCK_CPUS=4 144CONFIG_SPLIT_PTLOCK_CPUS=4
146CONFIG_RESOURCES_64BIT=y 145CONFIG_RESOURCES_64BIT=y
147CONFIG_GENERIC_ISA_DMA=y 146CONFIG_ZONE_DMA_FLAG=0
148CONFIG_SBUS=y 147CONFIG_SBUS=y
149CONFIG_SBUSCHAR=y 148CONFIG_SBUSCHAR=y
150CONFIG_SUN_AUXIO=y 149CONFIG_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
1533CONFIG_ZLIB_INFLATE=y 1535CONFIG_ZLIB_INFLATE=y
1534CONFIG_ZLIB_DEFLATE=y 1536CONFIG_ZLIB_DEFLATE=y
1535CONFIG_PLIST=y 1537CONFIG_PLIST=y
1536CONFIG_IOMAP_COPY=y 1538CONFIG_HAS_IOMEM=y
1539CONFIG_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,