Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225710
b: refs/heads/master
c: bce5fee
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Dec 12, 2010
1 parent 351a7e5 commit e6aaab3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 154337688bfa970453836e65a27de011aba55331
refs/heads/master: bce5feeab418fb1df9ce1c3fcc14f0aacf740208
4 changes: 2 additions & 2 deletions trunk/arch/sparc/include/asm/oplib_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ extern char prom_version[];
*/
extern phandle prom_root_node;

/* PROM stdin and stdout */
extern int prom_stdin, prom_stdout;
/* PROM stdout */
extern int prom_stdout;

/* /chosen node of the prom device tree, this stays constant after
* initialization is complete.
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/sparc/prom/console_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
#include <asm/system.h>
#include <linux/string.h>

extern int prom_stdin, prom_stdout;

static int __prom_console_write_buf(const char *buf, int len)
{
unsigned long args[7];
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/sparc/prom/init_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
char prom_version[80];

/* The root node of the prom device tree. */
int prom_stdin, prom_stdout;
int prom_stdout;
phandle prom_chosen_node;

/* You must call prom_init() before you attempt to use any of the
Expand All @@ -38,7 +38,6 @@ void __init prom_init(void *cif_handler, void *cif_stack)
if (!prom_chosen_node || prom_chosen_node == -1)
prom_halt();

prom_stdin = prom_getint(prom_chosen_node, "stdin");
prom_stdout = prom_getint(prom_chosen_node, "stdout");

node = prom_finddevice("/openprom");
Expand Down

0 comments on commit e6aaab3

Please sign in to comment.