in arm cancellation point asm, don't unnecessarily preserve link register
commite0e8ae754cc7653fcff489a0e229adbbb49fde6c
authorPatrick Oppenlander <patrick.oppenlander@gmail.com>
Thu, 1 Aug 2019 04:34:59 +0000 (1 14:34 +1000)
committerRich Felker <dalias@aerifal.cx>
Tue, 6 Aug 2019 18:03:56 +0000 (6 14:03 -0400)
tree9c1fb95924eabf2c6e6b524dde515313ef611694
parent49eacf29d29fa704b2feda879978ae64a825358c
in arm cancellation point asm, don't unnecessarily preserve link register

The only reason we needed to preserve the link register was because we
were using a branch-link instruction to branch to __cp_cancel.
Replacing this with a branch means we can avoid the save/restore as
the link register is no longer modified.
src/thread/arm/syscall_cp.s