]> git.baikalelectronics.ru Git - kernel.git/commit
Blackfin/ipipe: fix deferred pipeline sync for the root stage
authorPhilippe Gerum <rpm@xenomai.org>
Thu, 17 Mar 2011 06:15:24 +0000 (02:15 -0400)
committerMike Frysinger <vapier@gentoo.org>
Fri, 18 Mar 2011 08:01:11 +0000 (04:01 -0400)
commit9c0c4fffecf5991bff34cd43c53c8847cfb357af
tree79d6537878aefeb5c6b766971b717358a2ee1513
parentaf15bb404037b5231554627cef9097052b0eccf3
Blackfin/ipipe: fix deferred pipeline sync for the root stage

This patch makes sure to sync the pipeline for the root stage only
from the outer interrupt level, when resuming kernel code after an
interrupt.

This fixes a bug causing EVT15 to be spuriously popped off upon nested
interrupts, which in turn would cause the preempted kernel code to
resume without supervisor privileges.

Signed-off-by: Philippe Gerum <rpm@xenomai.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-common/entry.S
arch/blackfin/mach-common/interrupt.S