linux_dsm_epyc7002/arch
James Hogan 8fe4908b83 MIPS: tlbex: Avoid unnecessary _PAGE_PRESENT shifts
Commit c5b367835c ("MIPS: Add support for XPA.") added generation of a
shift by _PAGE_PRESENT_SHIFT in build_pte_present() and
build_pte_writable(), however except for the XPA case this is always
zero making it unnecessary.

Make the shift conditional upon _PAGE_PRESENT_SHIFT being non-zero to
save an instruction in those cases.

Fixes: c5b367835c ("MIPS: Add support for XPA.")
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9889/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2015-06-21 21:53:55 +02:00
..
alpha
arc
arm Omap fixes for the -rc cycle, including a fix for potential hardware 2015-06-08 10:32:55 -07:00
arm64
avr32
blackfin blackfin: Fix build error 2015-06-10 10:19:24 -07:00
c6x
cris
frv
hexagon
ia64 ia64: make cpu_callin_map non-volatile. 2015-06-02 10:07:03 -07:00
m32r
m68k
metag
microblaze
mips MIPS: tlbex: Avoid unnecessary _PAGE_PRESENT shifts 2015-06-21 21:53:55 +02:00
mn10300
nios2
openrisc
parisc
powerpc
s390 s390/bpf: fix bpf frame pointer setup 2015-06-03 19:31:39 -07:00
score score: Fix exception handler label 2015-06-10 10:19:47 -07:00
sh
sparc
tile
um
unicore32
x86 Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-06-14 14:00:13 -10:00
xtensa
.gitignore
Kconfig