Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 36560
b: refs/heads/master
c: b36e475
h: refs/heads/master
v: v3
  • Loading branch information
Russell King authored and Russell King committed Sep 20, 2006
1 parent 9b7a2a6 commit bf14c9d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7ad1bcb25c5623f1f87c50fdf2272f58ff91db5a
refs/heads/master: b36e4758dc1b9ff1f6d97e951edba22366230d11
4 changes: 4 additions & 0 deletions trunk/kernel/fork.c
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,11 @@ static struct task_struct *copy_process(unsigned long clone_flags,
#endif
#ifdef CONFIG_TRACE_IRQFLAGS
p->irq_events = 0;
#ifdef __ARCH_WANT_INTERRUPTS_ON_CTXSW
p->hardirqs_enabled = 1;
#else
p->hardirqs_enabled = 0;
#endif
p->hardirq_enable_ip = 0;
p->hardirq_enable_event = 0;
p->hardirq_disable_ip = _THIS_IP_;
Expand Down

0 comments on commit bf14c9d

Please sign in to comment.