Skip to content
Commit 2f8f8c04 authored by James Hogan's avatar James Hogan Committed by Ralf Baechle
Browse files

MIPS: tlbex: Avoid duplicated single_insn_swpd



The expression "uasm_in_compat_space_p(swpd) && !uasm_rel_lo(swpd)" is
used twice in build_get_pgd_vmalloc64(), one of which is assigned to the
local variable single_insn_swpd. Update the other use to just use
single_insn_swpd instead to remove the duplication.

Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
Cc: David Daney <ddaney@caviumnetworks.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13779/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent f7d9afea
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment