Blackfin: finish_atomic_sections: optimize the RTS step
authorMike Frysinger <vapier@gentoo.org>
Thu, 19 Nov 2009 19:15:26 +0000 (19:15 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 15 Dec 2009 05:15:42 +0000 (00:15 -0500)
commit2f5a0864025743aeae20669984c1a998fe263194
tree67963afc6184e3cf8c126558bbab80f03c8538ab
parent0d5e35940b3ec3a0695cfcd8f6273ba083638c22
Blackfin: finish_atomic_sections: optimize the RTS step

No point in returning to userspace just to have it immediately perform the
RTS step.  We have to update the PC anyways, so do the RTS too.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/process.c