Commit dfef2a7e authored by Paul Mackerras's avatar Paul Mackerras

PPC32: Define CLONE_UNTRACED for assembler code, fix a too-long branch

parent d0ad6e51
......@@ -114,6 +114,7 @@ main(void)
DEFINE(RESULT, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, result));
DEFINE(TRAP, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, trap));
DEFINE(CLONE_VM, CLONE_VM);
DEFINE(CLONE_UNTRACED, CLONE_UNTRACED);
DEFINE(MM_PGD, offsetof(struct mm_struct, pgd));
/* About the CPU features table */
......
......@@ -358,9 +358,12 @@ MachineCheck:
#ifdef CONFIG_ALL_PPC
mfspr r4,SPRG2
cmpwi cr1,r4,0
bne cr1,machine_check_in_rtas
bne cr1,1f
#endif
EXC_XFER_STD(0x200, MachineCheckException)
#ifdef CONFIG_ALL_PPC
1: b machine_check_in_rtas
#endif
/* Data access exception. */
. = 0x300
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment