[POWERPC] Rework EXC_LEVEL_EXCEPTION_PROLOG code
commit369e757b65d4a5e49bae7cfaf671e784f891cfbe
authorKumar Gala <galak@kernel.crashing.org>
Wed, 30 Apr 2008 09:17:22 +0000 (30 04:17 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 2 Jun 2008 19:56:06 +0000 (2 14:56 -0500)
treeaa144c5db61f00384a552c33ace99c454fe5ea23
parentbcf0b0880710409420a4e3b15dbf4b9a63542c0b
[POWERPC] Rework EXC_LEVEL_EXCEPTION_PROLOG code

* Cleanup the code a bit my allocating an INT_FRAME on our exception
  stack there by make references go from GPR11-INT_FRAME_SIZE(r8) to
  just GPR11(r8)
* simplify {lvl}_transfer_to_handler code by moving the copying of the
  temp registers we use if we come from user space into the PROLOG
* If the exception came from kernel mode copy thread_info flags,
  preempt, and task pointer from the process thread_info.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/entry_32.S
arch/powerpc/kernel/head_booke.h