]> git.baikalelectronics.ru Git - kernel.git/commit
microblaze: Fix msr instruction detection
authorMichal Simek <monstr@monstr.eu>
Fri, 4 Feb 2011 14:24:11 +0000 (15:24 +0100)
committerMichal Simek <monstr@monstr.eu>
Mon, 7 Feb 2011 18:13:01 +0000 (19:13 +0100)
commite756080e891377efc7801da6a52dd40b19181fa1
tree046fba87d27c0461cd3ba897e5a0fd3b5362c3df
parent575e04626339184c6f70465cb275852bc422b9a2
microblaze: Fix msr instruction detection

Fix msr instructions detection. The current code
just use msrclr for loading msr content and compare
it with proper MSR content. If msrclr is not implemented
r8 contains pc address.
Previous code wanted to use MSR carry bit but if msrclr
wasn't implemented carry wasn't cleared.

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/head.S
arch/microblaze/kernel/setup.c