diff options
Diffstat (limited to 'include/linux/hardirq.h')
| -rw-r--r-- | include/linux/hardirq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/hardirq.h b/include/linux/hardirq.h index 8f3f467c57c6..bea1612d8f5c 100644 --- a/include/linux/hardirq.h +++ b/include/linux/hardirq.h | |||
| @@ -96,7 +96,7 @@ | |||
| 96 | #define in_nmi() (preempt_count() & NMI_MASK) | 96 | #define in_nmi() (preempt_count() & NMI_MASK) |
| 97 | 97 | ||
| 98 | #if defined(CONFIG_PREEMPT) && defined(CONFIG_BKL) | 98 | #if defined(CONFIG_PREEMPT) && defined(CONFIG_BKL) |
| 99 | # define PREEMPT_INATOMIC_BASE kernel_locked() | 99 | # define PREEMPT_INATOMIC_BASE (current->lock_depth >= 0) |
| 100 | #else | 100 | #else |
| 101 | # define PREEMPT_INATOMIC_BASE 0 | 101 | # define PREEMPT_INATOMIC_BASE 0 |
| 102 | #endif | 102 | #endif |
