From: Jim Bos Date: Sat, 13 Nov 2010 11:13:53 +0000 (+0100) Subject: i8k: Tell gcc that *regs gets clobbered X-Git-Tag: v2.6.37-rc2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b4e81db2552bad04100e7d5ddeed7e848f53b48;p=pandora-kernel.git i8k: Tell gcc that *regs gets clobbered More recent GCC caused the i8k driver to stop working, on Slackware compiler was upgraded from gcc-4.4.4 to gcc-4.5.1 after which it didn't work anymore, meaning the driver didn't load or gave total nonsensical output. As it turned out the asm(..) statement forgot to mention it modifies the *regs variable. Credits to Andi Kleen and Andreas Schwab for providing the fix. Signed-off-by: Jim Bos Cc: Andi Kleen Cc: Andreas Schwab Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed