From: Daniel Sanders Date: Tue, 24 Feb 2015 15:02:57 +0000 (+0000) Subject: MIPS: Changed current_thread_info() to an equivalent supported by both clang and GCC X-Git-Tag: omap-for-v4.1/fixes-rc1~111^2~140 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe92da0f355e9f664a56702c36c50e20e84c51cd;p=pandora-kernel.git MIPS: Changed current_thread_info() to an equivalent supported by both clang and GCC Without this, a 'break' instruction is executed very early in the boot and the boot hangs. The problem is that clang doesn't honour named registers on local variables and silently treats them as normal uninitialized variables. However, it does honour them on global variables. Signed-off-by: Daniel Sanders Cc: Ralf Baechle Cc: Paul Burton Cc: Markos Chandras Cc: James Hogan Cc: linux-mips@linux-mips.org Cc: Sergei Shtylyov Cc: David Daney Acked-by: Behan Webster Patchwork: https://patchwork.linux-mips.org/patch/9311/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed