commit | 9cd23dd1811d0ed20e6cfd416494f6348cc76ee7 | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Mon Nov 20 11:07:21 2017 +0000 |
committer | Will Deacon <will.deacon@arm.com> | Mon Nov 20 11:07:21 2017 +0000 |
tree | 79f5171603550605d8ab470b1511a9e717c118a6 | |
parent | 1764a4f65c72645bcdfbab14a30b782efc6ea8ae [diff] |
Fix asm constraints in __rmem_thread_start The "fork" pseudo-instruction writes back to x0, so ensure that GCC doesn't rely on it holding its previous value across the asm. This fixes "illegal fetch address exception" reports. Reported-by: Shaked Flur <shaked.flur@cl.cam.ac.uk> Signed-off-by: Will Deacon <will.deacon@arm.com>