| Submitter | Dave Kleikamp |
|---|---|
| Date | March 5, 2010, 8:43 p.m. |
| Message ID | <20100305204301.18424.76490.sendpatchset@norville.austin.ibm.com> |
| Download | mbox | patch |
| Permalink | /patch/47021/ |
| State | Accepted |
| Commit | 471c70ff39809af783c7718defe574a9ba81dd26 |
| Delegated to: | Josh Boyer |
| Headers | show |
Comments
Patch
diff --git a/arch/powerpc/kernel/head_booke.h b/arch/powerpc/kernel/head_booke.h index 50504ae..a0bf158 100644 --- a/arch/powerpc/kernel/head_booke.h +++ b/arch/powerpc/kernel/head_booke.h @@ -1,6 +1,7 @@ #ifndef __HEAD_BOOKE_H__ #define __HEAD_BOOKE_H__ +#include <asm/ptrace.h> /* for STACK_FRAME_REGS_MARKER */ /* * Macros used for common Book-e exception handling */ @@ -48,6 +49,9 @@ stw r10,0(r11); \ rlwinm r9,r9,0,14,12; /* clear MSR_WE (necessary?) */\ stw r0,GPR0(r11); \ + lis r10, STACK_FRAME_REGS_MARKER@ha;/* exception frame marker */ \ + addi r10, r10, STACK_FRAME_REGS_MARKER@l; \ + stw r10, 8(r11); \ SAVE_4GPRS(3, r11); \ SAVE_2GPRS(7, r11)