diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 18:35:30 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 18:35:30 -0500 |
commit | ec2f9d1331f658433411c58077871e1eef4ee1b4 (patch) | |
tree | 6d0e5f6665e5c89ee392379967a52e6fcae17cf2 | |
parent | 89697f1d715e20fff0361cca79efd5a371623af7 (diff) | |
parent | 34cc560e6a72ff414ff7d107426a411b0a093ad3 (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.c | 2 | ||||
-rw-r--r-- | arch/sparc64/Kconfig | 8 | ||||
-rw-r--r-- | arch/sparc64/defconfig | 13 | ||||
-rw-r--r-- | arch/sparc64/kernel/sparc64_ksyms.c | 2 | ||||
-rw-r--r-- | arch/sparc64/mm/init.c | 4 | ||||
-rw-r--r-- | include/asm-sparc64/setup.h | 2 |
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); | |||
229 | EXPORT_SYMBOL(prom_getproperty); | 229 | EXPORT_SYMBOL(prom_getproperty); |
230 | EXPORT_SYMBOL(prom_node_has_property); | 230 | EXPORT_SYMBOL(prom_node_has_property); |
231 | EXPORT_SYMBOL(prom_setprop); | 231 | EXPORT_SYMBOL(prom_setprop); |
232 | EXPORT_SYMBOL(boot_command_line); | 232 | EXPORT_SYMBOL(saved_command_line); |
233 | EXPORT_SYMBOL(prom_apply_obio_ranges); | 233 | EXPORT_SYMBOL(prom_apply_obio_ranges); |
234 | EXPORT_SYMBOL(prom_feval); | 234 | EXPORT_SYMBOL(prom_feval); |
235 | EXPORT_SYMBOL(prom_getbool); | 235 | EXPORT_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 | ||
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/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); | |||
253 | EXPORT_SYMBOL(prom_getproperty); | 253 | EXPORT_SYMBOL(prom_getproperty); |
254 | EXPORT_SYMBOL(prom_node_has_property); | 254 | EXPORT_SYMBOL(prom_node_has_property); |
255 | EXPORT_SYMBOL(prom_setprop); | 255 | EXPORT_SYMBOL(prom_setprop); |
256 | EXPORT_SYMBOL(boot_command_line); | 256 | EXPORT_SYMBOL(saved_command_line); |
257 | EXPORT_SYMBOL(prom_finddevice); | 257 | EXPORT_SYMBOL(prom_finddevice); |
258 | EXPORT_SYMBOL(prom_feval); | 258 | EXPORT_SYMBOL(prom_feval); |
259 | EXPORT_SYMBOL(prom_getbool); | 259 | EXPORT_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 */ |