git: 8483b3add8e7 - main - kboot: powerpc64 has no newfstat system call

From: Warner Losh <imp_at_FreeBSD.org>
Date: Sun, 04 Dec 2022 20:36:50 UTC
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