aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2012-08-23 14:11:25 +0200
committerPaul E. McKenney <[email protected]>2012-09-23 07:44:42 -0700
commit6a6c0272f17cc80a8286d915f2ddf31557c2d559 (patch)
tree3b4babe1cbfa3659d42d9ecf326f6169defe4730 /net/lapb/lapb_in.c
parenta10d206ef1a83121ab7430cb196e0376a7145b22 (diff)
alpha: Fix preemption handling in idle loop
cpu_idle() is called on the boot CPU by the init code with preemption disabled. But the cpu_idle() function in alpha doesn't handle this when it calls schedule() directly. Fix it by converting it into schedule_preempt_disabled(). Also disable preemption before calling cpu_idle() from secondary CPU entry code to stay consistent with this state. Signed-off-by: Frederic Weisbecker <[email protected]> Tested-by: Michael Cree <[email protected]> Cc: Richard Henderson <[email protected]> Cc: Ivan Kokshaysky <[email protected]> Cc: Matt Turner <[email protected]> Cc: alpha <[email protected]> Cc: Paul E. McKenney <[email protected]> Reviewed-by: Josh Triplett <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions