diff options
| author | Steven Rostedt <[email protected]> | 2008-07-25 01:45:25 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-07-25 10:53:26 -0700 |
| commit | 3f307891ce0e7b0438c432af1aacd656a092ff45 (patch) | |
| tree | 603d106da47ce7d039ceb304e2c7f7ae38daf87b /tools/perf/scripts/python | |
| parent | e0deaff470900a4c3222ca7139f6c9639e26a2f5 (diff) | |
locking: add typecheck on irqsave and friends for correct flags
There haave been several areas in the kernel where an int has been used for
flags in local_irq_save() and friends instead of a long. This can cause some
hard to debug problems on some architectures.
This patch adds a typecheck inside the irqsave and restore functions to flag
these cases.
[[email protected]: coding-style fixes]
[[email protected]: build fix]
Signed-off-by: Steven Rostedt <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions