Commit 0ea3acbc authored by Michal Schmidt's avatar Michal Schmidt Committed by Frederic Weisbecker
Browse files

rcu/srcutiny: don't return before reenabling preemption



Code after the return statement is dead. Enable preemption before
returning from srcu_drive_gp().

This will be important when/if PREEMPT_AUTO (lazy resched) gets merged.

Fixes: 65b4a595 ("srcu: Make Tiny SRCU explicitly disable preemption")
Reviewed-by: default avatarPaul E. McKenney <paulmck@kernel.org>
Signed-off-by: default avatarMichal Schmidt <mschmidt@redhat.com>
Reviewed-by: default avatarNeeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Signed-off-by: default avatarFrederic Weisbecker <frederic@kernel.org>
parent d4e287d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment