diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-10-29 17:49:12 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-10-29 17:49:12 -0400 |
commit | b0c4e148bd591629749d02a8fbc8d81c26d548cf (patch) | |
tree | 3e2142635f3dc2ceeae870ead2dceab7b9c6def1 /arch/mips/sgi-ip27/ip27-console.c | |
parent | 5615ca7906aefbdc3318604c89db5931d0a25910 (diff) | |
parent | be15cd72d256e5eb3261a781b8507fac83ab33f6 (diff) |
Merge branch 'master'
Diffstat (limited to 'arch/mips/sgi-ip27/ip27-console.c')
-rw-r--r-- | arch/mips/sgi-ip27/ip27-console.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/sgi-ip27/ip27-console.c b/arch/mips/sgi-ip27/ip27-console.c index d97f5b5ef844..3e1ac299b804 100644 --- a/arch/mips/sgi-ip27/ip27-console.c +++ b/arch/mips/sgi-ip27/ip27-console.c | |||
@@ -30,8 +30,10 @@ | |||
30 | static inline struct ioc3_uartregs *console_uart(void) | 30 | static inline struct ioc3_uartregs *console_uart(void) |
31 | { | 31 | { |
32 | struct ioc3 *ioc3; | 32 | struct ioc3 *ioc3; |
33 | nasid_t nasid; | ||
33 | 34 | ||
34 | ioc3 = (struct ioc3 *)KL_CONFIG_CH_CONS_INFO(get_nasid())->memory_base; | 35 | nasid = (master_nasid == INVALID_NASID) ? get_nasid() : master_nasid; |
36 | ioc3 = (struct ioc3 *)KL_CONFIG_CH_CONS_INFO(nasid)->memory_base; | ||
35 | 37 | ||
36 | return &ioc3->sregs.uarta; | 38 | return &ioc3->sregs.uarta; |
37 | } | 39 | } |