Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Dec 2022 20:36:50 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 8483b3add8e7 - main - kboot: powerpc64 has no newfstat system call
Message-ID:  <202212042036.2B4KaowQ034061@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=8483b3add8e706e6e54e8508e268c623f77031d1

commit 8483b3add8e706e6e54e8508e268c623f77031d1
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-12-04 20:20:04 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-12-04 20:31:06 +0000

    kboot: powerpc64 has no newfstat system call
    
    Powerpc doesn't have a newfstat system call. It does have a fstat call,
    which we define properly if SYS_newfstat isn't defined.
    
    Sponsored by:           Netflix
---
 stand/kboot/arch/powerpc64/syscall_nr.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/stand/kboot/arch/powerpc64/syscall_nr.h b/stand/kboot/arch/powerpc64/syscall_nr.h
index 71f2452c9124..735e79a09158 100644
--- a/stand/kboot/arch/powerpc64/syscall_nr.h
+++ b/stand/kboot/arch/powerpc64/syscall_nr.h
@@ -12,7 +12,6 @@
 #define SYS_mmap		 90
 #define SYS_mount		 21
 #define	SYS_munmap		 91
-#define SYS_newfstat		SYS_fstat
 #define SYS_newfstatat		291
 #define SYS_openat		286
 #define SYS_pselect6		280



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212042036.2B4KaowQ034061>