diff options
author | David Howells <dhowells@redhat.com> | 2012-11-02 13:20:42 (GMT) |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2012-11-02 13:20:42 (GMT) |
commit | 1ee6f5669a7eaba0e2f4e0dd0599b56eb8a9a090 (patch) | |
tree | 89436eb93201d47f625b92bb36a9f9763fae0b7e /drivers/scsi/ncr53c8xx.h | |
parent | eded09ccf58ab00474ccde547dd525c75dbc28fd (diff) | |
download | linux-fsl-qoriq-1ee6f5669a7eaba0e2f4e0dd0599b56eb8a9a090.tar.xz |
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 <viro@ZenIV.linux.org.uk>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Al Viro <viro@ZenIV.linux.org.uk>
Diffstat (limited to 'drivers/scsi/ncr53c8xx.h')
0 files changed, 0 insertions, 0 deletions