]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: BMIPS: Fix bmips_wr_vec()
authorPetri Gynther <pgynther@google.com>
Wed, 27 May 2015 06:25:08 +0000 (23:25 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 29 May 2015 18:23:43 +0000 (20:23 +0200)
commitddb3ca78f9575facda32dd325749a4015af0e965
tree00942c7a69e9efdd8f8ff40db2f128df93a244f4
parent2120377a63ba5b3e029ae26f13030b42074b4506
MIPS: BMIPS: Fix bmips_wr_vec()

bmips_wr_vec() copies exception vector code from start to dst.

The call to dma_cache_wback() needs to flush (end-start) bytes,
starting at dst, from write-back cache to memory.

Signed-off-by: Petri Gynther <pgynther@google.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Kevin Cernekee <cernekee@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10193/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/smp-bmips.c