openrisc: head: refactor out tlb flush into it's own function
authorStefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Sat, 17 May 2014 16:18:58 +0000 (19:18 +0300)
committerStafford Horne <shorne@gmail.com>
Mon, 6 Feb 2017 12:50:43 +0000 (21:50 +0900)
commit8c9b7db0de3d64c9a6fcd12622636d4aa6a8c30c
tree2b764ae08bee406a851d79776c50b997e464c6dc
parentc2dc72437a5504bf8f4343ed83ae745afa388522
openrisc: head: refactor out tlb flush into it's own function

This brings it inline with the other setup oprations done like the cache
enables _ic_enable and _dc_enable.  Also, this is going to make it
easier to initialize additional cpu's when smp is introduced.

Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
[shorne@gmail.com: Added commit body]
Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/kernel/head.S