]> git.karo-electronics.de Git - karo-tx-linux.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>
Sun, 4 Aug 2013 23:15:52 +0000 (09:15 +1000)
commitb0e84f413b6dace01baf8c9c7fdf37d8c5797043
tree3657f5497ed19c5d6297af388e91c6a7ca2e2199
parent94b146fbe73f07b7fc4832b2d4a85b936b314c77
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