]> git.baikalelectronics.ru Git - kernel.git/commit
sparc32: fix sparcstation 5 boot
authorSam Ravnborg <sam@ravnborg.org>
Thu, 21 Apr 2011 23:35:46 +0000 (16:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Apr 2011 23:35:46 +0000 (16:35 -0700)
commitaf65fa58c9e10c94be17620d45a53623db9e8a62
tree830347865e3079ad00fa5cb2798aa0ce295ce6bb
parent6832a908f9656f4cfd8c712002985bcd29517101
sparc32: fix sparcstation 5 boot

The sparcstation 5 I have available has no MID property for the CPU.
This resulted in a panic when booting a SMP kernel on this box.

The assigned field in cpu_data is never used, so if we fail
to read the MID property then inform user and continue booting.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/smp_32.c