Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jul 2021 11:02:55 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: fec5a70e1f41 - stable/13 - x86: use ANSI C definition style for trap_fatal
Message-ID:  <202107171102.16HB2tuC065954@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib:

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

commit fec5a70e1f41235dbbf43482ec2e54df030f4abc
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-07-10 10:59:32 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-07-17 10:52:04 +0000

    x86: use ANSI C definition style for trap_fatal
    
    PR:     257062
    
    (cherry picked from commit 55e63ed307fb099722cf6d30a18c9badab9b5d03)
---
 sys/amd64/amd64/trap.c | 4 +---
 sys/i386/i386/trap.c   | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c
index e67e188bb4fd..942c99c4826e 100644
--- a/sys/amd64/amd64/trap.c
+++ b/sys/amd64/amd64/trap.c
@@ -871,9 +871,7 @@ after_vmfault:
 }
 
 static void
-trap_fatal(frame, eva)
-	struct trapframe *frame;
-	vm_offset_t eva;
+trap_fatal(struct trapframe *frame, vm_offset_t eva)
 {
 	int code, ss;
 	u_int type;
diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c
index 6fd2a1393761..045478149be5 100644
--- a/sys/i386/i386/trap.c
+++ b/sys/i386/i386/trap.c
@@ -875,9 +875,7 @@ trap_pfault(struct trapframe *frame, bool usermode, vm_offset_t eva,
 }
 
 static void
-trap_fatal(frame, eva)
-	struct trapframe *frame;
-	vm_offset_t eva;
+trap_fatal(struct trapframe *frame, vm_offset_t eva)
 {
 	int code, ss, esp;
 	u_int type;



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