]> git.karo-electronics.de Git - linux-beck.git/commit
microblaze: Save and restore r3/r4 in SAVE/RESTORE_REGS macros
authorMichal Simek <monstr@monstr.eu>
Tue, 22 Jun 2010 11:27:43 +0000 (13:27 +0200)
committerMichal Simek <monstr@monstr.eu>
Wed, 4 Aug 2010 08:22:42 +0000 (10:22 +0200)
commit36f6095419b100479bd3ffabcafe4dac8d918734
treeb52030bce7137879b50a362805363be2e5edcb65
parenta4a94dbf20fa2e119cf89615ef21230f9b2f8913
microblaze: Save and restore r3/r4 in SAVE/RESTORE_REGS macros

Save and restore R3/R4 registers in macros. This change
help to cleanup entry.S.

In ret_from_trap function we are saving returning value from
syscall to pt_regs on stack that's why we don't need to save and
restore these values before kernel functions (schedule, do_signal).

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