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)
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>

No differences found