openrisc: avoid using function parameter regs in reset vector
authorStefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Fri, 12 Oct 2012 06:38:18 +0000 (09:38 +0300)
committerJonas Bonn <jonas@southpole.se>
Sun, 10 Feb 2013 17:55:46 +0000 (18:55 +0100)
commit54bd7c510ba027763130eaeb09004ef5780c06e6
tree27dcab76dc8803eaedb2f623acdc27a43b20b1af
parent1dd2ad7f2b414805de2020d5bf2d5adc3cf6243c
openrisc: avoid using function parameter regs in reset vector

The kernel might be invoked through the reset vector, so to
preserve parameters passed to it, temp regs that are not
in the function parameter range needs to be used.

Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Signed-off-by: Jonas Bonn <jonas@southpole.se>
arch/openrisc/kernel/head.S