From: Ralf Baechle Date: Thu, 21 Mar 2013 10:28:10 +0000 (+0100) Subject: MIPS: Make declarations and definitions of tlbmiss_handler_setup_pgd match. X-Git-Tag: v3.10-rc1~15^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bfbf6a256348b1543e638c7d7b2f3004b289fdb;p=pandora-kernel.git 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 --- Reading git-diff-tree failed