diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-30 14:06:55 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-30 14:06:55 -0400 |
commit | 9c837fb692b005203765d8a569a2fe43fdff9df1 (patch) | |
tree | 914146eb36c92c929bf32af69052e7d9fa28beb1 /arch/sparc/kernel/prom.c | |
parent | 63332a9d16e7dede26d252af3f9c4304b51e7974 (diff) | |
parent | c1f193a7aed1b468617bb26075777c0c2f4f597a (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
* 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
[SPARC64]: Fix show_stack() when stack argument is NULL.
[SPARC]: Fix serial console node string creation.
[SPARC]: Mark SBUS framebuffer ioctls as IGNORE in compat_ioctl.c
[SPARC64]: asm-sparc64/floppy.h needs linux/pci.h
[SPARC64]: Fix conflicts in SBUS/PCI/EBUS/ISA DMA handling.
[VIDEO]: Fix OOPS in all SBUS framebuffer drivers.
[SPARC64]: Handle mostek clock type in mini_rtc driver.
[PARTITION]: Sun/Solaris VTOC table corrections
[SPARC]: Fix floppy on some sun4c systems.
[SPARC64]: Fix sun4u PCI config space accesses on sun4u.
[PARTITION] MSDOS: Fix Sun num_partitions handling.
[SPARC]: Update defconfig.
Diffstat (limited to 'arch/sparc/kernel/prom.c')
-rw-r--r-- | arch/sparc/kernel/prom.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/sparc/kernel/prom.c b/arch/sparc/kernel/prom.c index e3a537650db1..39fbd3c8ab0b 100644 --- a/arch/sparc/kernel/prom.c +++ b/arch/sparc/kernel/prom.c | |||
@@ -415,7 +415,7 @@ static void __init of_console_init(void) | |||
415 | unsigned long flags; | 415 | unsigned long flags; |
416 | const char *type; | 416 | const char *type; |
417 | phandle node; | 417 | phandle node; |
418 | int skip, fd; | 418 | int skip, tmp, fd; |
419 | 419 | ||
420 | of_console_path = prom_early_alloc(256); | 420 | of_console_path = prom_early_alloc(256); |
421 | 421 | ||
@@ -442,8 +442,9 @@ static void __init of_console_init(void) | |||
442 | prom_halt(); | 442 | prom_halt(); |
443 | } | 443 | } |
444 | 444 | ||
445 | tmp = skip; | ||
445 | for_each_node_by_type(dp, type) { | 446 | for_each_node_by_type(dp, type) { |
446 | if (!skip--) | 447 | if (!tmp--) |
447 | break; | 448 | break; |
448 | } | 449 | } |
449 | if (!dp) { | 450 | if (!dp) { |