Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323598
b: refs/heads/master
c: cb349ca
h: refs/heads/master
v: v3
  • Loading branch information
Paul E. McKenney authored and Frederic Weisbecker committed Sep 26, 2012
1 parent 9c32dc0 commit 7da048b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 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: 1fd2b4425a5702c112b441e20b250ac8833a9608
refs/heads/master: cb349ca95407cbc11424d5e9fc7c8e700709041b
16 changes: 8 additions & 8 deletions trunk/kernel/rcutree.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ static void rcu_eqs_enter_common(struct rcu_dynticks *rdtp, long long oldval,
bool user)
{
trace_rcu_dyntick("Start", oldval, 0);
if (!is_idle_task(current) && !user) {
if (!user && !is_idle_task(current)) {
struct task_struct *idle = idle_task(smp_processor_id());

trace_rcu_dyntick("Error on entry: not idle task", oldval, 0);
Expand Down Expand Up @@ -399,7 +399,7 @@ void rcu_idle_enter(void)
unsigned long flags;

local_irq_save(flags);
rcu_eqs_enter(0);
rcu_eqs_enter(false);
local_irq_restore(flags);
}
EXPORT_SYMBOL_GPL(rcu_idle_enter);
Expand Down Expand Up @@ -435,7 +435,7 @@ void rcu_user_enter(void)
rdtp = &__get_cpu_var(rcu_dynticks);
if (!rdtp->ignore_user_qs && !rdtp->in_user) {
rdtp->in_user = true;
rcu_eqs_enter(1);
rcu_eqs_enter(true);
}
local_irq_restore(flags);
}
Expand Down Expand Up @@ -492,7 +492,7 @@ void rcu_irq_exit(void)
if (rdtp->dynticks_nesting)
trace_rcu_dyntick("--=", oldval, rdtp->dynticks_nesting);
else
rcu_eqs_enter_common(rdtp, oldval, 1);
rcu_eqs_enter_common(rdtp, oldval, true);
local_irq_restore(flags);
}

Expand All @@ -513,7 +513,7 @@ static void rcu_eqs_exit_common(struct rcu_dynticks *rdtp, long long oldval,
WARN_ON_ONCE(!(atomic_read(&rdtp->dynticks) & 0x1));
rcu_cleanup_after_idle(smp_processor_id());
trace_rcu_dyntick("End", oldval, rdtp->dynticks_nesting);
if (!is_idle_task(current) && !user) {
if (!user && !is_idle_task(current)) {
struct task_struct *idle = idle_task(smp_processor_id());

trace_rcu_dyntick("Error on exit: not idle task",
Expand Down Expand Up @@ -560,7 +560,7 @@ void rcu_idle_exit(void)
unsigned long flags;

local_irq_save(flags);
rcu_eqs_exit(0);
rcu_eqs_exit(false);
local_irq_restore(flags);
}
EXPORT_SYMBOL_GPL(rcu_idle_exit);
Expand Down Expand Up @@ -592,7 +592,7 @@ void rcu_user_exit(void)
rdtp = &__get_cpu_var(rcu_dynticks);
if (rdtp->in_user) {
rdtp->in_user = false;
rcu_eqs_exit(1);
rcu_eqs_exit(true);
}
local_irq_restore(flags);
}
Expand Down Expand Up @@ -653,7 +653,7 @@ void rcu_irq_enter(void)
if (oldval)
trace_rcu_dyntick("++=", oldval, rdtp->dynticks_nesting);
else
rcu_eqs_exit_common(rdtp, oldval, 1);
rcu_eqs_exit_common(rdtp, oldval, true);
local_irq_restore(flags);
}

Expand Down

0 comments on commit 7da048b

Please sign in to comment.