aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-12 18:35:30 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-12 18:35:30 -0500
commitec2f9d1331f658433411c58077871e1eef4ee1b4 (patch)
tree6d0e5f6665e5c89ee392379967a52e6fcae17cf2
parent89697f1d715e20fff0361cca79efd5a371623af7 (diff)
parent34cc560e6a72ff414ff7d107426a411b0a093ad3 (diff)
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6: [SPARC]: Re-export saved_command_line to modules. [SPARC64]: Increase command line size to 2048 like other arches. [SPARC64]: We do not need ZONE_DMA.
-rw-r--r--arch/sparc/kernel/sparc_ksyms.c2
-rw-r--r--arch/sparc64/Kconfig8
-rw-r--r--arch/sparc64/defconfig13
-rw-r--r--arch/sparc64/kernel/sparc64_ksyms.c2
-rw-r--r--arch/sparc64/mm/init.c4
-rw-r--r--include/asm-sparc64/setup.h2
6 files changed, 13 insertions, 18 deletions
diff --git a/arch/sparc/kernel/sparc_ksyms.c b/arch/sparc/kernel/sparc_ksyms.c
index bba1b0e02f94..d8e008a04e2b 100644
--- a/arch/sparc/kernel/sparc_ksyms.c
+++ b/arch/sparc/kernel/sparc_ksyms.c
@@ -229,7 +229,7 @@ EXPORT_SYMBOL(prom_getproplen);
229EXPORT_SYMBOL(prom_getproperty); 229EXPORT_SYMBOL(prom_getproperty);
230EXPORT_SYMBOL(prom_node_has_property); 230EXPORT_SYMBOL(prom_node_has_property);
231EXPORT_SYMBOL(prom_setprop); 231EXPORT_SYMBOL(prom_setprop);
232EXPORT_SYMBOL(boot_command_line); 232EXPORT_SYMBOL(saved_command_line);
233EXPORT_SYMBOL(prom_apply_obio_ranges); 233EXPORT_SYMBOL(prom_apply_obio_ranges);
234EXPORT_SYMBOL(prom_feval); 234EXPORT_SYMBOL(prom_feval);
235EXPORT_SYMBOL(prom_getbool); 235EXPORT_SYMBOL(prom_getbool);
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/kernel/sparc64_ksyms.c b/arch/sparc64/kernel/sparc64_ksyms.c
index f7d78e05e7fc..beffc82a1e85 100644
--- a/arch/sparc64/kernel/sparc64_ksyms.c
+++ b/arch/sparc64/kernel/sparc64_ksyms.c
@@ -253,7 +253,7 @@ EXPORT_SYMBOL(prom_getproplen);
253EXPORT_SYMBOL(prom_getproperty); 253EXPORT_SYMBOL(prom_getproperty);
254EXPORT_SYMBOL(prom_node_has_property); 254EXPORT_SYMBOL(prom_node_has_property);
255EXPORT_SYMBOL(prom_setprop); 255EXPORT_SYMBOL(prom_setprop);
256EXPORT_SYMBOL(boot_command_line); 256EXPORT_SYMBOL(saved_command_line);
257EXPORT_SYMBOL(prom_finddevice); 257EXPORT_SYMBOL(prom_finddevice);
258EXPORT_SYMBOL(prom_feval); 258EXPORT_SYMBOL(prom_feval);
259EXPORT_SYMBOL(prom_getbool); 259EXPORT_SYMBOL(prom_getbool);
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,
diff --git a/include/asm-sparc64/setup.h b/include/asm-sparc64/setup.h
index b356ee2cda92..5053df3cec40 100644
--- a/include/asm-sparc64/setup.h
+++ b/include/asm-sparc64/setup.h
@@ -5,6 +5,6 @@
5#ifndef _SPARC64_SETUP_H 5#ifndef _SPARC64_SETUP_H
6#define _SPARC64_SETUP_H 6#define _SPARC64_SETUP_H
7 7
8#define COMMAND_LINE_SIZE 256 8#define COMMAND_LINE_SIZE 2048
9 9
10#endif /* _SPARC64_SETUP_H */ 10#endif /* _SPARC64_SETUP_H */