From: David Howells Date: Fri, 2 Nov 2012 13:20:42 +0000 (+0000) Subject: FRV: Fix the preemption handling X-Git-Tag: v3.7-rc4~10^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ee6f5669a7eaba0e2f4e0dd0599b56eb8a9a090;p=pandora-kernel.git FRV: Fix the preemption handling Fix the preemption handling in FRV code where the PREEMPT_ACTIVE value is incorrectly loaded into the threadinfo flags rather than the threadinfo preemption count. Unfortunately, the code cannot be simply converted to use preempt_schedule_irq() as is because FRV uses virtual interrupt disablement to cut down on the cost of actually disabling interrupts and thus local_irq_enable() doesn't actually enable interrupts. Reported-by: Al Viro Signed-off-by: David Howells cc: Al Viro --- Reading git-diff-tree failed