Don't copy SB1 cache error handler to uncached memory.
authorRalf Baechle <ralf@linux-mips.org>
Sat, 1 Oct 2005 19:22:39 +0000 (20:22 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:32:34 +0000 (19:32 +0100)
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 <ralf@linux-mips.org>
arch/mips/mm/c-sb1.c

index b215859..2f08b53 100644 (file)
@@ -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();