From: Max Filippov Date: Sat, 2 Aug 2014 20:42:38 +0000 (+0400) Subject: xtensa: make fast_unaligned store restartable X-Git-Tag: omap-fixes-against-v3.17-rc3~14^2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9500dd852ca6ede346500010545975bf10244dc;p=pandora-kernel.git xtensa: make fast_unaligned store restartable fast_unaligned may encounter DTLB miss or SEGFAULT during the store emulation. Don't update epc1 and lcount until after the store emulation is complete, so that the faulting store instruction could be replayed. Remove duplicate code handling zero overhead loops and calculate new epc1 and lcount in one place. Signed-off-by: Max Filippov --- Reading git-diff-tree failed