commit | 0bfbf6a256348b1543e638c7d7b2f3004b289fdb | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Thu Mar 21 11:28:10 2013 +0100 |
committer | Ralf Baechle <ralf@linux-mips.org> | Thu Apr 11 13:04:11 2013 +0200 |
tree | 2726d73cb4e301a6f4410b298eac90eedada0009 | |
parent | 86a1708a9d5423f93e8f23d05d219ac6c6297b37 [diff] |
MIPS: Make declarations and definitions of tlbmiss_handler_setup_pgd match. tlbmiss_handler_setup_pgd is run-time generated code and it was convenient to pretend the symbol was an array in the generator but a function for the users. LTO gcc won't tolerate this kind of lie anymore so solve the problem through a cast and function pointer instead. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>