]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: tlbex: Fix a missing statement for HUGETLB
authorHuacai Chen <chenhc@lemote.com>
Tue, 29 Jul 2014 06:54:40 +0000 (14:54 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 30 Jul 2014 12:34:25 +0000 (14:34 +0200)
commit00e50cfe6b2a1289119542ac4adfe3f0607bb8d4
tree9e27cd7faaa7af490fc05c77705da25c79948634
parent863b2bfcdbf7c141a04caef7c767a842dfd2296d
MIPS: tlbex: Fix a missing statement for HUGETLB

In commit 0c476b0c207 (MIPS: Optimize TLB handlers for Octeon CPUs)
build_r4000_tlb_refill_handler() is modified. But it doesn't compatible
with the original code in HUGETLB case. Because there is a copy & paste
error and one line of code is missing. It is very easy to produce a bug
with LTP's hugemmap05 test.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Binbin Zhou <zhoubb@lemote.com>
Cc: <stable@vger.kernel.org>
Cc: John Crispin <john@phrozen.org>
Cc: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/7496/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/tlbex.c