commit | ca41a038d69031b115f42580c09cb8fb13b47b83 | [log] [tgz] |
---|---|---|
author | Paul Burton <paul.burton@imgtec.com> | Thu Jan 29 01:28:01 2015 +0000 |
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | Thu Jan 29 12:55:01 2015 +0100 |
tree | 939c2bb7d6dede36a256a26d8a71fd994cdbc45e | |
parent | d878cc26c15712fde96aa72618427eadf2e6ea6e [diff] |
MIPS: inline mips_init_[id]cache functions The mips_init_[id]cache functions are small & only called once from a single callsite. Inlining them allows mips_cache_reset to avoid having to bother moving arguments around & leaves it a leaf function which is thus able to simply keep the return address live in the ra register throughout, simplifying the code. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>