aboutsummaryrefslogtreecommitdiffstats
path: root/fs/partitions
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2008-07-25 01:45:25 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-25 10:53:26 -0700
commit3f307891ce0e7b0438c432af1aacd656a092ff45 (patch)
tree603d106da47ce7d039ceb304e2c7f7ae38daf87b /fs/partitions
parentsplit the typecheck macros out of include/linux/kernel.h (diff)
downloadlinux-dev-3f307891ce0e7b0438c432af1aacd656a092ff45.tar.xz
linux-dev-3f307891ce0e7b0438c432af1aacd656a092ff45.zip
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. [akpm@linux-foundation.org: coding-style fixes] [akpm@linux-foundation.org: build fix] Signed-off-by: Steven Rostedt <srostedt@redhat.com> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/partitions')
0 files changed, 0 insertions, 0 deletions