diff options
| author | Jim Bos <[email protected]> | 2010-11-13 11:13:53 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-11-13 17:54:43 +0000 |
| commit | 6b4e81db2552bad04100e7d5ddeed7e848f53b48 (patch) | |
| tree | 7a4775df2a486914cd421dca6434f44ee8148383 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | ACPI: debugfs custom_method open to non-root (diff) | |
| download | kernel-6b4e81db2552bad04100e7d5ddeed7e848f53b48.tar.gz kernel-6b4e81db2552bad04100e7d5ddeed7e848f53b48.zip | |
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 <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Andreas Schwab <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
