Unverified Commit 382854fb by Christian Brauner Committed by GitHub

Merge pull request #3272 from ffontaine/master

src/lxc/raw_syscalls.c: fix sparc assembly
parents 67d54d09 5f7dd076
...@@ -76,7 +76,7 @@ __returns_twice pid_t lxc_raw_clone(unsigned long flags, int *pidfd) ...@@ -76,7 +76,7 @@ __returns_twice pid_t lxc_raw_clone(unsigned long flags, int *pidfd)
* processor status register (psr) is used instead of a * processor status register (psr) is used instead of a
* full register. * full register.
*/ */
"addx %%g0, 0, %g1" "addx %%g0, 0, %%g1"
: "=r"(g1), "=r"(o0), "=r"(o1), "=r"(o2) /* outputs */ : "=r"(g1), "=r"(o0), "=r"(o1), "=r"(o2) /* outputs */
: "r"(g1), "r"(o0), "r"(o1), "r"(o2) /* inputs */ : "r"(g1), "r"(o0), "r"(o1), "r"(o2) /* inputs */
: "%cc"); /* clobbers */ : "%cc"); /* clobbers */
......
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