]> git.karo-electronics.de Git - mv-sheeva.git/commit
microblaze: Simplify _debug_exception function
authorMichal Simek <monstr@monstr.eu>
Tue, 22 Jun 2010 13:25:24 +0000 (15:25 +0200)
committerMichal Simek <monstr@monstr.eu>
Wed, 4 Aug 2010 08:22:48 +0000 (10:22 +0200)
commit06b2864038517905752bdacd95f1f265ef780f3b
tree26f787945b246f594d8e25d89a3fb03ca5234430
parent8b110d157c82f3818fc578b633f0cf7ace9efc22
microblaze: Simplify _debug_exception function

Keep together all arguments for send_sig function.
Move returning address to delay slot which is executed.
Remove additional send_sig loading. I am using IMM part of
rtbd instruction with r0.

old solution:
addik r11, r0, send_sig
rtbd r11, 0
nop

new solution:
rtbd r0, send_sig
nop

There is one instruction saving.

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/entry.S