From: Ralf Baechle Date: Sat, 1 Oct 2005 19:22:39 +0000 (+0100) Subject: Don't copy SB1 cache error handler to uncached memory. X-Git-Tag: Ubuntu-goldfish-3.4.0-4.27~38316^2~1^2~44 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=65f1f5a2c3cdb0570806fe4e5512945673dfa199;p=mirror_ubuntu-zesty-kernel.git Don't copy SB1 cache error handler to uncached memory. This may have made sense on a paranoid day with pass 1 BCM1250 processors that were throwing cache error exception left and right for no good reason. On modern silicion that hardly makes sense and the code had gotten just an obscurity ... Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/mm/c-sb1.c b/arch/mips/mm/c-sb1.c index b21585980a15..2f08b535f20e 100644 --- a/arch/mips/mm/c-sb1.c +++ b/arch/mips/mm/c-sb1.c @@ -503,7 +503,6 @@ void sb1_cache_init(void) /* Special cache error handler for SB1 */ set_uncached_handler (0x100, &except_vec2_sb1, 0x80); - memcpy((void *)KSEG1ADDR(&handle_vec2_sb1), &handle_vec2_sb1, 0x80); probe_cache_sizes();