aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorTim Shimmin <tes@chook.melbourne.sgi.com>2006-09-29 02:45:43 -0400
committerTim Shimmin <tes@chook.melbourne.sgi.com>2006-09-29 02:45:43 -0400
commit1b06e7926694178e146ff708b2c15a6da64c9765 (patch)
tree30602fa4a854d6956f478212937726ca75ea13ce /kernel
parent65e8697a12e356cd7a6ecafa1149f5c5c6a71593 (diff)
parentc972398b7871d9fb58c6a317786065a7cc6ca4be (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'kernel')
-rw-r--r--kernel/fork.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index a0dad84567c9..802b1cf0e63f 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1061,7 +1061,11 @@ static struct task_struct *copy_process(unsigned long clone_flags,
1061#endif 1061#endif
1062#ifdef CONFIG_TRACE_IRQFLAGS 1062#ifdef CONFIG_TRACE_IRQFLAGS
1063 p->irq_events = 0; 1063 p->irq_events = 0;
1064#ifdef __ARCH_WANT_INTERRUPTS_ON_CTXSW
1065 p->hardirqs_enabled = 1;
1066#else
1064 p->hardirqs_enabled = 0; 1067 p->hardirqs_enabled = 0;
1068#endif
1065 p->hardirq_enable_ip = 0; 1069 p->hardirq_enable_ip = 0;
1066 p->hardirq_enable_event = 0; 1070 p->hardirq_enable_event = 0;
1067 p->hardirq_disable_ip = _THIS_IP_; 1071 p->hardirq_disable_ip = _THIS_IP_;