Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375554
b: refs/heads/master
c: 4a3b8d0
h: refs/heads/master
v: v3
  • Loading branch information
Scott Wood authored and Benjamin Herrenschmidt committed May 10, 2013
1 parent 8870ed7 commit efb264f
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 73ed148aea9dc0508be7e30e7a447f55c1b2f378
refs/heads/master: 4a3b8d0b833707811011ad14dd12dabf31fa690a
5 changes: 3 additions & 2 deletions trunk/arch/powerpc/include/asm/hw_irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,12 @@ static inline bool arch_irqs_disabled(void)
#endif

#define hard_irq_disable() do { \
u8 _was_enabled = get_paca()->soft_enabled; \
__hard_irq_disable(); \
if (local_paca->soft_enabled) \
trace_hardirqs_off(); \
get_paca()->soft_enabled = 0; \
get_paca()->irq_happened |= PACA_IRQ_HARD_DIS; \
if (_was_enabled) \
trace_hardirqs_off(); \
} while(0)

static inline bool lazy_irq_pending(void)
Expand Down

0 comments on commit efb264f

Please sign in to comment.