aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2006-07-03 00:24:27 -0700
committerLinus Torvalds <[email protected]>2006-07-03 15:27:00 -0700
commitc01d403b2e3e3f231b18ebd07ad64ecbe6a258a5 (patch)
treeb7ccadf4bb93d9cdb5c770e976637fb783d9dab5 /include/linux/debugobjects.h
parenta875a69f8b00a38b4f40d9632a4fc71a159f0e0d (diff)
[PATCH] lockdep: add disable/enable_irq_lockdep() API
lockdep wants to use the disable_irq()/enable_irq() prototypes before they are provied by the platform's asm/irq.h. So move them out of the CONFIG_GENERIC_HARDIRQS define - all architectures have a common prototype for this anyway. Add special lockdep variants of irq line disabling/enabling. These should be used for locking constructs that know that a particular irq context which is disabled, and which is the only irq-context user of a lock, that it's safe to take the lock in the irq-disabled section without disabling hardirqs. [[email protected]: build fix] Signed-off-by: Ingo Molnar <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions