]> git.baikalelectronics.ru Git - kernel.git/commit
microblaze: nommu: Don't clobber R11 on syscalls
authorsteve@digidescorp.com <steve@digidescorp.com>
Wed, 9 Dec 2009 23:13:42 +0000 (17:13 -0600)
committerMichal Simek <monstr@monstr.eu>
Mon, 14 Dec 2009 07:45:11 +0000 (08:45 +0100)
commit825c9a359ecd6ba2569e6c38199e7d072ab388e3
tree3211fe2d908e4cc5c624f3b9ca46c65f83c94470
parent233eb92115c87bc3bbfab99e3e198654acf4cd58
microblaze: nommu: Don't clobber R11 on syscalls

The noMMU syscall trap has a bug that causes R11 to be zero on return to
userland. Remove the extra "save" of R11 responsible for the bug.

Remove reloading of mode indicator because r11 already contains it.

Signed-off-by: Steven J. Magnani <steve@digidescorp.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/entry-nommu.S