Using get_nasid() to find the console node will blow up nicely if
authorRalf Baechle <ralf@linux-mips.org>
Mon, 27 Jun 2005 08:34:27 +0000 (08:34 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:31:31 +0000 (19:31 +0100)
commit01d42abdf3c35c2ae820bb9305174aa75492975b
tree15a05fd40bdbc705bab461e55eec423256085e75
parentc4559f67b73d6c34fde0faac5c6c890a2cf3527c
Using get_nasid() to find the console node will blow up nicely if
called on a another node than the console node, so use the master_nasid
instead and in the unlikely case that one isn't initialized yet, fall
back to get_nasid().

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sgi-ip27/ip27-console.c