From: Ralf Baechle Date: Wed, 27 May 2009 16:29:37 +0000 (+0100) Subject: MIPS: Don't write ones to reserved entryhi bits. X-Git-Tag: v2.6.32-rc6~2^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d30cecbcbe149a36a354757cea835c1bb28689cf;p=pandora-kernel.git MIPS: Don't write ones to reserved entryhi bits. We've silently been relying on the hardware chopping off excess, reserved ASID bits for no better reason that it saving an instruction. Because we already have: #define cpu_asid(cpu, mm) (cpu_context((cpu), (mm)) & ASID_MASK) in . We can use a cleanup to avoid writing non-zero bits into the reserved entryhi bits. This avoid triggering some debugging assertion in the Cavium simulator. Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed