x86-64: add system call definitions
authorJens Axboe <axboe@kernel.dk>
Mon, 21 Feb 2022 16:43:15 +0000 (09:43 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 21 Feb 2022 16:43:15 +0000 (09:43 -0700)
commitcc7ab24619ae25540d7d98df842fe64dd10cbe48
tree4cbec382bedc22cc0a46b2e01c00b397a2297a81
parente9d0f70a57d00e96e8dd80d53eee38b8cc829164
x86-64: add system call definitions

Avoid a libc function call, just define our own syscall wrappers for
this architecture. Lifted from liburing.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
arch/arch-x86_64.h