Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221542
b: refs/heads/master
c: 7fe19da
h: refs/heads/master
v: v3
  • Loading branch information
Arnd Bergmann authored and Linus Torvalds committed Nov 2, 2010
1 parent 5a5c58b commit 4ee6768
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 020e773f6b2e797a13d23723773ed1b3ba2c35dc
refs/heads/master: 7fe19da4ca38fc20cdbc7020fcf2eca8fc756410
8 changes: 6 additions & 2 deletions trunk/include/linux/hardirq.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,15 @@
*/
#define in_nmi() (preempt_count() & NMI_MASK)

#if defined(CONFIG_PREEMPT)
#if defined(CONFIG_PREEMPT) && defined(CONFIG_BKL)
# define PREEMPT_INATOMIC_BASE kernel_locked()
# define PREEMPT_CHECK_OFFSET 1
#else
# define PREEMPT_INATOMIC_BASE 0
#endif

#if defined(CONFIG_PREEMPT)
# define PREEMPT_CHECK_OFFSET 1
#else
# define PREEMPT_CHECK_OFFSET 0
#endif

Expand Down

0 comments on commit 4ee6768

Please sign in to comment.