]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitba8922b00704c26bdfa0589fba479db54f94440f
treedf88018df489762bb52c87c22e4baf8922a4c51a
parenta26c4ca81e1dbad44cf54c6d3325e2687273f8ce
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