]> git.baikalelectronics.ru Git - kernel.git/commit
[MIPS] IP28: added cache barrier to assembly routines
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sun, 25 Nov 2007 10:47:56 +0000 (11:47 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 29 Jan 2008 10:14:58 +0000 (10:14 +0000)
commit8b65275e5a746b36ab0b76ca5218e3af9e60b906
tree53288137d4f7cc02d8ca417edb2b25221c3007cd
parent1f2b0427c7f5dfe553b0de27abb36c2ba36f6bd2
[MIPS] IP28: added cache barrier to assembly routines

IP28 needs special treatment to avoid speculative accesses. gcc
takes care for .c code, but for assembly code we need to do it
manually.

This is taken from Peter Fuersts IP28 patches.

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/lib/memcpy.S
arch/mips/lib/memset.S
arch/mips/lib/strncpy_user.S
include/asm-mips/asm.h