diff options
author | Scott Wood <scottwood@freescale.com> | 2013-05-09 23:09:41 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-05-10 03:01:09 -0400 |
commit | 4a3b8d0b833707811011ad14dd12dabf31fa690a (patch) | |
tree | e66e13b7f6687bc8e977b98197f15ae2ba95c907 /security/selinux | |
parent | 73ed148aea9dc0508be7e30e7a447f55c1b2f378 (diff) |
powerpc: hard_irq_disable(): Call trace_hardirqs_off after disabling
lockdep.c has this:
/*
* So we're supposed to get called after you mask local IRQs,
* but for some reason the hardware doesn't quite think you did
* a proper job.
*/
if (DEBUG_LOCKS_WARN_ON(!irqs_disabled()))
return;
Since irqs_disabled() is based on soft_enabled(), that (not just the
hard EE bit) needs to be 0 before we call trace_hardirqs_off.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'security/selinux')
0 files changed, 0 insertions, 0 deletions