diff options
author | Jim Bos <jim876@xs4all.nl> | 2010-11-13 12:13:53 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-11-13 09:54:43 -0800 |
commit | 6b4e81db2552bad04100e7d5ddeed7e848f53b48 (patch) | |
tree | 7a4775df2a486914cd421dca6434f44ee8148383 /drivers/media/video/cx23885/cx23885-i2c.c | |
parent | ed3aada1bf34c5a9e98af167f125f8a740fc726a (diff) |
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 <jim876@xs4all.nl>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-i2c.c')
0 files changed, 0 insertions, 0 deletions