]> git.karo-electronics.de Git - linux-beck.git/commit
microblaze: Remove additional setup for kernel_mode
authorMichal Simek <monstr@monstr.eu>
Tue, 22 Jun 2010 14:39:56 +0000 (16:39 +0200)
committerMichal Simek <monstr@monstr.eu>
Wed, 4 Aug 2010 08:22:53 +0000 (10:22 +0200)
commit77f6d226050e2d8f046e268a9f84ec834172f0de
tree1f4f80974504eebab50d231d438ae61fb48f4afc
parent06a54604a31f06715a393a4fdd099b03611cce10
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>
arch/microblaze/kernel/entry.S