diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2014-12-02 18:30:19 +0300 |
---|---|---|
committer | Markos Chandras <markos.chandras@imgtec.com> | 2015-02-17 18:37:31 +0300 |
commit | 4ee486274ec1e63f056c991e2523c32780670d08 (patch) | |
tree | 2304dbbb0b303b67d5622cddb95abc62331a1677 | |
parent | 77f3ee59ee7cfe19e0ee48d9a990c7967fbfcbed (diff) | |
download | linux-4ee486274ec1e63f056c991e2523c32780670d08.tar.xz |
MIPS: mm: c-r4k: Set the correct ISA level
The local_r4k_flush_cache_sigtramp function uses the 'cache'
instruction inside an asm block. However, MIPS R6 changed the
opcode for the cache instruction and as a result of which we
need to set the correct ISA level.
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
-rw-r--r-- | arch/mips/mm/c-r4k.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c index b806deb29e63..7ecee761ae2d 100644 --- a/arch/mips/mm/c-r4k.c +++ b/arch/mips/mm/c-r4k.c @@ -794,7 +794,7 @@ static void local_r4k_flush_cache_sigtramp(void * arg) __asm__ __volatile__ ( ".set push\n\t" ".set noat\n\t" - ".set mips3\n\t" + ".set "MIPS_ISA_LEVEL"\n\t" #ifdef CONFIG_32BIT "la $at,1f\n\t" #endif |