Skip to content

Conversation

@hujun260
Copy link
Contributor

Summary

we should use tcb->xcp.regs instead of up_current_regs() as the basis for judging whether to call restore_critical_section.
This commit fixes the regression from #13444

Impact

arm6-m
arm7-m
arm8-m

Testing

ostest

…basis for judging whether to call restore_critical_section.

This commit fixes the regression from apache#13444

Signed-off-by: hujun5 <hujun5@xiaomi.com>
@github-actions github-actions bot added Arch: arm Issues related to ARM (32-bit) architecture Size: XS The size of the change in this PR is very small labels Sep 25, 2024
@masayuki2009
Copy link
Contributor

ostest

@hujun260
Which configuration did you use for the testing?

@hujun260
Copy link
Contributor Author

ostest

@hujun260 Which configuration did you use for the testing?

raspberrypi-pico:smp

@masayuki2009 masayuki2009 merged commit efdb432 into apache:master Sep 25, 2024
@hujun260 hujun260 deleted the apache_12 branch September 29, 2024 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch: arm Issues related to ARM (32-bit) architecture Size: XS The size of the change in this PR is very small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants