[SPARC64]: Fix hypervisor TLB operation error reporting.
authorDavid S. Miller <davem@davemloft.net>
Thu, 17 Jan 2008 09:32:09 +0000 (01:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jan 2008 14:26:55 +0000 (06:26 -0800)
commit6320bcebc0ee0bafc61f293bec2d0809171f6b1d
tree3304410d948260a374eaaf4ba138f777dad05520
parentd8c89eb3a12f0da96d049bd515c7fa3702e511c5
[SPARC64]: Fix hypervisor TLB operation error reporting.

1) Trap level wasn't being passed down properly, we need to
   move it from %l4 into the correct outgoing arg register.

2) Although the TPC often provides the most direct clue, we
   have the caller PC so we should provide that as well.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/sun4v_tlb_miss.S
arch/sparc64/kernel/traps.c