MIPS: mm: page: Add MIPS R6 support
authorMarkos Chandras <markos.chandras@imgtec.com>
Wed, 19 Nov 2014 09:39:56 +0000 (09:39 +0000)
committerMarkos Chandras <markos.chandras@imgtec.com>
Tue, 17 Feb 2015 15:37:30 +0000 (15:37 +0000)
The MIPS R6 pref instruction only has 9 bits for the immediate
field so skip the micro-assembler PREF instruction if the offset
does not fit in 9 bits. Moreover, bit 30 (Pref_PrepareForStore) is
no longer valid in MIPS R6, so we change the default for all MIPS R6
processors to bit 5 (Pref_StoreStreamed).

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
arch/mips/mm/page.c

Simple merge