mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
microblaze: Remove additional setup for kernel_mode
PT_MODE stores information if kernel comes from user or kernel space. If come from user space, PT_MODE contains 0. If come from kernel store, PT_MODE contains non zero value. We don't need to save value 1. I am using r1 register which contains non zero value. This change save one additional instruction. Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
06a54604a3
commit
77f6d22605
1 changed files with 10 additions and 15 deletions
Loading…
Add table
Add a link
Reference in a new issue