From nobody Sat Jan 07 20:26:21 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NqBYn5xcBz2p2tH; Sat, 7 Jan 2023 20:26:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NqBYn5VNyz3prb; Sat, 7 Jan 2023 20:26:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673123181; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=t+ejMs8drsIeHF7oRSYSJb9hAUDjHr8/PRWWYlhV4RA=; b=T2RglyAvfgPVEGFwszDGf3V/l2+3h8cd8i5bPI/UASKA4AYs+dp8Z3TupRG3FpkfDIBzSz mw+8MPEsC/qXXpn9KjAUikAcuwjTY1d2nvUHQCwyzorFxNxCgQehQR4XkH5rQNlpq6MjBH 9rNdRl8xcvwWOd4A0aelUCGzHKSxft5E1Ylp6jL/Bb+1gqWUYao+Xhbn0yrP0DrATbcPZP 6t38pv2TFReR0lG6OjKWlM1knPujtwo9vEKxo6E6FBev0PZqUVDliwFOxehj2NATHx5bPe G81NLD7ZA0s3Md34QbcGouwutfrmavr++Fn2FNPHiAD42NR/7Z9Xvc/VYnnXvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673123181; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=t+ejMs8drsIeHF7oRSYSJb9hAUDjHr8/PRWWYlhV4RA=; b=UiNEtzIsVe5MyFdP4Z7Fn7jxZWdG9tntvNS3kg7ssJZVBPBoE1NyYqut83ZSB2i6O2hbb7 mSg9PCjyQR2TDB7+bIABgBccXiATpD0Rpu82nzv6FollUoC2u3pwSbenOPEHY4l1zh/ORq zdsCeTANt6ZRSKhoXexc1bW4ECxz530VVreGzmN2wlVIfBrMuCZiYAwHAYwtHXbVN7kFXV 84LalMVq1h9vapxpjLZBYATNUM5UGlNfCCQUxWY68qkiHlkDEgMjLwxIJL9nwntit5DlSH fnfp76nhGDUzLoRvZ8q2y2NZKEz0FLaQ+8AtQVD2bqq6y48SAi2BqnId5XBZIg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673123181; a=rsa-sha256; cv=none; b=GJVE2QbY5lF8TSxJ6i/eUukaM25ZGHS53KbhlpWFNJoyXfqae+Xplf6Oq0ArqpXHZH/kL9 osFl1ZEAN5BLgQwi2P6p7o7qi/IhAt8OOrZp9Is+BNXf0ty+ZIWbeTTTk01in9kQ7Sz08w UQ0+Bg5Ud2j7aNRBSan98MhgYVzrN7aQs71pNQvDC3xQRmzeoAAtXHtBkCfcay24q/ywWy DA7VX2Zq+HHtb/IqikHoDxKaUjyQzDj/C+3CQ+Q2hE34sCQzrQj7KB1lFpKoCbWZhRsXnB U8V1OCfLAbLG8IdfRCk69AtMxvQCnOT4UZXSz8FKPcLrlkgDUClweXTL18SS3A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NqBYn4b04zMvF; Sat, 7 Jan 2023 20:26:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 307KQL78070428; Sat, 7 Jan 2023 20:26:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 307KQL2I070427; Sat, 7 Jan 2023 20:26:21 GMT (envelope-from git) Date: Sat, 7 Jan 2023 20:26:21 GMT Message-Id: <202301072026.307KQL2I070427@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: a0e4d18091a4 - main - kboot: Sort kexec_load alphabetically List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a0e4d18091a4fab66c4eb7c5dc731f78a2f9b0a3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=a0e4d18091a4fab66c4eb7c5dc731f78a2f9b0a3 commit a0e4d18091a4fab66c4eb7c5dc731f78a2f9b0a3 Author: Warner Losh AuthorDate: 2023-01-07 20:24:45 +0000 Commit: Warner Losh 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) {