git: a0e4d18091a4 - main - kboot: Sort kexec_load alphabetically
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 07 Jan 2023 20:26:21 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=a0e4d18091a4fab66c4eb7c5dc731f78a2f9b0a3 commit a0e4d18091a4fab66c4eb7c5dc731f78a2f9b0a3 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2023-01-07 20:24:45 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2023-01-07 20:24:45 +0000 kboot: Sort kexec_load alphabetically Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D37968 --- stand/kboot/host_syscalls.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/stand/kboot/host_syscalls.c b/stand/kboot/host_syscalls.c index 1ffa04948fdf..092ddfd133fd 100644 --- a/stand/kboot/host_syscalls.c +++ b/stand/kboot/host_syscalls.c @@ -60,12 +60,6 @@ host_ioctl(int fd, unsigned long request, unsigned long arg) return host_syscall(SYS_ioctl, fd, request, arg); } -int -host_kexec_load(unsigned long entry, unsigned long nsegs, struct host_kexec_segment *segs, unsigned long flags) -{ - return host_syscall(SYS_kexec_load, entry, nsegs, segs, flags); -} - ssize_t host_llseek(int fd, int32_t offset_high, int32_t offset_lo, uint64_t *result, int whence) { @@ -80,6 +74,12 @@ host_llseek(int fd, int32_t offset_high, int32_t offset_lo, uint64_t *result, in #endif } +int +host_kexec_load(unsigned long entry, unsigned long nsegs, struct host_kexec_segment *segs, unsigned long flags) +{ + return host_syscall(SYS_kexec_load, entry, nsegs, segs, flags); +} + int host_mkdir(const char *path, host_mode_t mode) {