commit | 77f6d226050e2d8f046e268a9f84ec834172f0de | [log] [tgz] |
---|---|---|
author | Michal Simek <monstr@monstr.eu> | Tue Jun 22 16:39:56 2010 +0200 |
committer | Michal Simek <monstr@monstr.eu> | Wed Aug 04 10:22:53 2010 +0200 |
tree | 1f4f80974504eebab50d231d438ae61fb48f4afc | |
parent | 06a54604a31f06715a393a4fdd099b03611cce10 [diff] |
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>