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)
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>

No differences found