Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360759
b: refs/heads/master
c: 4d4c4e2
h: refs/heads/master
i:
  360757: 1dc9785
  360755: 4c6284d
  360751: 1d54ae2
v: v3
  • Loading branch information
Frederic Weisbecker committed Feb 21, 2013
1 parent 7e6bfe4 commit 191d4ca
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 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: af7bdbafe3812af406ce07631effd2b96aae2dba
refs/heads/master: 4d4c4e24cf48400a24d33feffc7cca4f4e8cabe1
2 changes: 0 additions & 2 deletions trunk/include/linux/hardirq.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,8 @@

#ifdef CONFIG_PREEMPT_COUNT
# define preemptible() (preempt_count() == 0 && !irqs_disabled())
# define IRQ_EXIT_OFFSET (HARDIRQ_OFFSET-1)
#else
# define preemptible() 0
# define IRQ_EXIT_OFFSET HARDIRQ_OFFSET
#endif

#if defined(CONFIG_SMP) || defined(CONFIG_GENERIC_HARDIRQS)
Expand Down
3 changes: 1 addition & 2 deletions trunk/kernel/softirq.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ void irq_exit(void)

account_irq_exit_time(current);
trace_hardirq_exit();
sub_preempt_count(IRQ_EXIT_OFFSET);
sub_preempt_count(HARDIRQ_OFFSET);
if (!in_interrupt() && local_softirq_pending())
invoke_softirq();

Expand All @@ -353,7 +353,6 @@ void irq_exit(void)
tick_nohz_irq_exit();
#endif
rcu_irq_exit();
sched_preempt_enable_no_resched();
#ifndef __ARCH_IRQ_EXIT_IRQS_DISABLED
local_irq_restore(flags);
#endif
Expand Down

0 comments on commit 191d4ca

Please sign in to comment.