Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ee48627 authored by Markos Chandras's avatar Markos Chandras
Browse files

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: default avatarMarkos Chandras <markos.chandras@imgtec.com>
parent 77f3ee59
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -794,7 +794,7 @@ static void local_r4k_flush_cache_sigtramp(void * arg)
		__asm__ __volatile__ (
		__asm__ __volatile__ (
			".set push\n\t"
			".set push\n\t"
			".set noat\n\t"
			".set noat\n\t"
			".set mips3\n\t"
			".set "MIPS_ISA_LEVEL"\n\t"
#ifdef CONFIG_32BIT
#ifdef CONFIG_32BIT
			"la	$at,1f\n\t"
			"la	$at,1f\n\t"
#endif
#endif