openrisc: Cleanup switch code and comments
authorStafford Horne <shorne@gmail.com>
Fri, 3 Dec 2021 13:42:05 +0000 (22:42 +0900)
committerStafford Horne <shorne@gmail.com>
Sat, 4 Dec 2021 02:12:09 +0000 (11:12 +0900)
commit840b66c2550df04fbd66d8be782efa23649a0163
tree02a636aa553d22694e56d973da1fe466b923ecb9
parentd58071a8a76d779eedab38033ae4c821c30295a5
openrisc: Cleanup switch code and comments

The saving of the r12 register was there for a compiler bug referring
to a port that was never upstreamed.  It should be safe to use this
as the new compiler is what we use and the old deprecated.

Also, clean up some typos and references to old names in the switch
comments.

Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/kernel/entry.S