Skip to content

Commit

Permalink
Merge pull request #71 from feisuzhu/arm32_switch
Browse files Browse the repository at this point in the history
arm32: slp_switch should save r10
  • Loading branch information
snaury committed Jan 24, 2015
2 parents 2f9d976 + 9467999 commit bbc1ff6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/switch_arm32_gcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#else
#define REG_FP "fp"
#define REG_FPFP "fp,fp"
#define REGS_TO_SAVE_GENERAL "r4", "r5", "r6", "r7", "r8", "r9", "lr"
#define REGS_TO_SAVE_GENERAL "r4", "r5", "r6", "r7", "r8", "r9", "r10", "lr"
#endif
#if defined(__SOFTFP__)
#define REGS_TO_SAVE REGS_TO_SAVE_GENERAL
Expand Down Expand Up @@ -76,4 +76,4 @@ slp_switch(void)
return result;
}

#endif
#endif

0 comments on commit bbc1ff6

Please sign in to comment.