From: Maciej W. Rozycki Date: Mon, 17 Nov 2014 16:09:54 +0000 (+0000) Subject: MIPS: jump_label.c: Correct the span of the J instruction X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~91^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99436f7d69045800ffd1d66912f85d37150c7e2b;p=pandora-kernel.git MIPS: jump_label.c: Correct the span of the J instruction Correct the check for the span of the 256MB segment addressable by the J instruction according to this instruction's semantics. The calculation of the jump target is applied to the address of the delay-slot instruction that immediately follows. Adjust the check accordingly by adding 4 to `e->code' that holds the address of the J instruction itself. Signed-off-by: Maciej W. Rozycki Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/8515/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed