m68k/coldfire: flush cache when creating the signal stack frame
authorAlexander Stein <alexander.stein@systec-electronic.com>
Wed, 5 Jun 2013 11:42:39 +0000 (13:42 +0200)
committerGreg Ungerer <gerg@uclinux.org>
Mon, 26 Aug 2013 06:51:13 +0000 (16:51 +1000)
commit42cb38bcb7a2a8f3a12bf4721e708476daf4f190
treedf88018df489762bb52c87c22e4baf8922a4c51a
parentdf592eb5dc07c5df26a16318ed4bf2f96fa38a4d
m68k/coldfire: flush cache when creating the signal stack frame

When the signal stack frame is created, it must be flushed in order to
make sure the cache fetches the correct data.
Without cache flush the icache might pick up old cached data from an older
signal stack frame if the signal is raised again very fast.
In case of copyback the data cache muist be pushed first, but is untested.

Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/kernel/signal.c