From nobody Tue Jan 24 22:09:59 2023 X-Original-To: dev-commits-src-branches@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 4P1h3X4Bgrz3bdgM; Tue, 24 Jan 2023 22:10:00 +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 4P1h3X0jt1z4HZw; Tue, 24 Jan 2023 22:10:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674598200; 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=iLLIqUATCGSfCWX6gJhv5plbyKqJIpJeCiQ8eXgGJGA=; b=ohWj0Qr4U6q9R/ndi+s0LCSTX17pMU7i6CpbMd79MCqSe3aT+YbWq0mHpBIUQh8shIJk/h QepzGIHZbV6do91/5Cf37Hf3pQJQ03VZJQDXC4AGhOU1qKuoyshL2GyQgR8k/HVZg9kT07 5o8/B5xT9aOS+6j/VQ0OY9Js15YXod3fMWg2x7U3I6g44U9aBJ8OvzMH7V8wlFHTEDkD72 JIQHhrScIuHndGz+kPn0xoll35YKOlFRPWfVZ9cbD/sSw0+dHyN/3aGgrlt5D7IU2ABEWz Lk6llXLbJWUMO3aobKCCj4Yyw58QByn/j5uA3jdFmj1dW1Dp+viLG0hzn/oTEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674598200; 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=iLLIqUATCGSfCWX6gJhv5plbyKqJIpJeCiQ8eXgGJGA=; b=w8U9dtojLyqyCXrxHeNBMVq7japHbt41uxvL9AznGbbU9RMiMD/eLjyaa7EHdBw357eQB9 w9Y0B4xLsqtypH7KbhuCWR46GifzB6XG/7EVdNvetxyS7MisBPvryikMHvfx4SjpL/w6PS Wi8Xax5KWbaFxzQpBVKLS0u2cARPqex5eaH5SmLQbOIfDH1OvqA+1oo6yLGA3Hh9oorC09 IwBA0AWnHxwfrqRXHmJI+GovCjxOyTRlxWwKC1XrMWezdZsm+cV2HLNRDX1r/IioJ4gb3e e6vI65sD2So9A0ido9f/SKhPgZ3T3gjhwOFw9u95DWcZaTmnuj4O7/dx64QmDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674598200; a=rsa-sha256; cv=none; b=W+YMJZ/bG69xolWWMA0Gy4crNbq1DHAnImkmHWC4DjpLgb5PfdK8PVmHlizQGzx2/sFTPf j9ef1DU3dW1SljYycJx3WL/6EDuWKKWCSOXM3SZFzAVyn00h3AeGvlyxxJ8fjwoiqc4qDo hmzLdTIH8gpfJ5hSA6wYaK8IvuqF4m8tSxtYx6ht0mqgLbBC4J2vLTZ4DDcKlTGZMCpdBW gQgSukbzarbAOoRaG0zp39+ccRlyV45r8Fj9VWyC2RF2D9h4U/Mt9Z630KMNlQFfTkFsVC ezsKhHWUKkKI1GRLbZMqIyOl/KGSuwDzFepvq9dJN04hzRErcjFysOW17bGXcA== 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 4P1h3W5srBzQF8; Tue, 24 Jan 2023 22:09:59 +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 30OM9xt0071057; Tue, 24 Jan 2023 22:09:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30OM9xWS071056; Tue, 24 Jan 2023 22:09:59 GMT (envelope-from git) Date: Tue, 24 Jan 2023 22:09:59 GMT Message-Id: <202301242209.30OM9xWS071056@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: eca37d33d8e5 - stable/13 - kboot: remove host_seek List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/13 X-Git-Reftype: branch X-Git-Commit: eca37d33d8e5a92d942c25a40faf2e9483d66b0d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=eca37d33d8e5a92d942c25a40faf2e9483d66b0d commit eca37d33d8e5a92d942c25a40faf2e9483d66b0d Author: Warner Losh AuthorDate: 2021-12-09 08:19:26 +0000 Commit: Warner Losh CommitDate: 2023-01-24 21:49:18 +0000 kboot: remove host_seek host_llseek has replaced all instances of host_seek, so retire the latter. It's unused. Sponsored by: Netflix (cherry picked from commit f953785b3df142f744789ade3acbfe2a65e6de70) --- stand/powerpc/kboot/host_syscall.S | 9 --------- stand/powerpc/kboot/host_syscall.h | 1 - 2 files changed, 10 deletions(-) diff --git a/stand/powerpc/kboot/host_syscall.S b/stand/powerpc/kboot/host_syscall.S index dc236afdeda7..a5556aa1b2dc 100644 --- a/stand/powerpc/kboot/host_syscall.S +++ b/stand/powerpc/kboot/host_syscall.S @@ -21,15 +21,6 @@ ENTRY(host_write) blr END(host_write) -ENTRY(host_seek) - mr %r4,%r5 - mr %r5,%r6 - mr %r6,%r7 - li %r0, 140 # SYS_llseek - sc - blr -END(host_seek) - ENTRY(host_llseek) li %r0, 140 # SYS_llseek sc diff --git a/stand/powerpc/kboot/host_syscall.h b/stand/powerpc/kboot/host_syscall.h index 50b0725be675..60b006e5dba4 100644 --- a/stand/powerpc/kboot/host_syscall.h +++ b/stand/powerpc/kboot/host_syscall.h @@ -32,7 +32,6 @@ ssize_t host_read(int fd, void *buf, size_t nbyte); ssize_t host_write(int fd, const void *buf, size_t nbyte); -ssize_t host_seek(int fd, int64_t offset, int whence); int host_open(const char *path, int flags, int mode); ssize_t host_llseek(int fd, int32_t offset_high, int32_t offset_lo, uint64_t *result, int whence); int host_close(int fd);