diff options
| author | Brooks Davis <brooks@FreeBSD.org> | 2024-01-05 18:33:37 +0000 |
|---|---|---|
| committer | Brooks Davis <brooks@FreeBSD.org> | 2024-02-05 20:34:56 +0000 |
| commit | f21777224411fee14b8aea6d8465bd6c2b318429 (patch) | |
| tree | 2a6733f7a340a2a8b14c4ac47c6b3b0d3afd9ba3 /lib/libsys/amd64 | |
| parent | 0d4f7723bc43e06ca22025740cb826a7f282ea11 (diff) | |
Diffstat (limited to 'lib/libsys/amd64')
| -rw-r--r-- | lib/libsys/amd64/SYS.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libsys/amd64/SYS.h b/lib/libsys/amd64/SYS.h index 2dfca1896fcd..e27bb2cf9a93 100644 --- a/lib/libsys/amd64/SYS.h +++ b/lib/libsys/amd64/SYS.h @@ -40,10 +40,12 @@ movq %rcx, %r10; \ syscall +#ifndef _SYSCALL_BODY #define _SYSCALL_BODY(name) \ _SYSCALL(name); \ jb HIDENAME(cerror); \ ret +#endif #define RSYSCALL(name) ENTRY(__sys_##name); \ WEAK_REFERENCE(__sys_##name, name); \ |
