From 5ffc069a3aba3adc630fe8eedbf6c9ee14249c47 Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Wed, 23 Oct 2019 18:27:30 +0000 Subject: [PATCH] libthr: Add missing END() directive for umtx_op_err (amd64) Like r353929, related to D22122. No functional change. Reviewed by: emaste, kib (earlier version both) --- lib/libthr/arch/amd64/amd64/_umtx_op_err.S | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/libthr/arch/amd64/amd64/_umtx_op_err.S b/lib/libthr/arch/amd64/amd64/_umtx_op_err.S index b54fe64f617d..1e9f7d607f7a 100644 --- a/lib/libthr/arch/amd64/amd64/_umtx_op_err.S +++ b/lib/libthr/arch/amd64/amd64/_umtx_op_err.S @@ -29,8 +29,11 @@ #include #include -#define RSYSCALL_ERR(x) ENTRY(__CONCAT(x, _err)); \ - mov __CONCAT($SYS_,x),%rax; KERNCALL; ret; +#define RSYSCALL_ERR(x) ENTRY(__CONCAT(x, _err)); \ + mov __CONCAT($SYS_,x),%rax; \ + KERNCALL; \ + ret; \ + END(__CONCAT(x, _err)); #define KERNCALL movq %rcx, %r10; syscall