summaryrefslogtreecommitdiffstats
path: root/arch/frv/kernel/process.c
diff options
context:
space:
mode:
authorDavid Howells2012-11-02 14:20:42 +0100
committerDavid Howells2012-11-02 14:20:42 +0100
commit1ee6f5669a7eaba0e2f4e0dd0599b56eb8a9a090 (patch)
tree89436eb93201d47f625b92bb36a9f9763fae0b7e /arch/frv/kernel/process.c
parentFRV: gcc-4.1.2 also inlines weak functions (diff)
downloadkernel-qcow2-linux-1ee6f5669a7eaba0e2f4e0dd0599b56eb8a9a090.tar.gz
kernel-qcow2-linux-1ee6f5669a7eaba0e2f4e0dd0599b56eb8a9a090.tar.xz
kernel-qcow2-linux-1ee6f5669a7eaba0e2f4e0dd0599b56eb8a9a090.zip
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 'arch/frv/kernel/process.c')
0 files changed, 0 insertions, 0 deletions