git: 31f473ee8763 - stable/13 - kboot: powerpc64 has no newfstat system call

From: Warner Losh <imp_at_FreeBSD.org>
Date: Tue, 24 Jan 2023 22:13:53 UTC
The branch stable/13 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=31f473ee87632c79220b44f38c41374accdcacdd

commit 31f473ee87632c79220b44f38c41374accdcacdd
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-12-04 20:20:04 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-01-24 21:49:42 +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
    
    (cherry picked from commit 8483b3add8e706e6e54e8508e268c623f77031d1)
---
 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