git: 153664d5adc0 - stable/13 - liberate wdog_kern_pat call from SW_WATCHDOG in arm minimdump code

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Mon, 04 Jul 2022 10:17:40 UTC
The branch stable/13 has been updated by avg:

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

commit 153664d5adc04e3b2a1609cf6f27c9d28246dab0
Author:     Andriy Gapon <avg@FreeBSD.org>
AuthorDate: 2022-02-16 07:53:42 +0000
Commit:     Andriy Gapon <avg@FreeBSD.org>
CommitDate: 2022-07-04 10:17:24 +0000

    liberate wdog_kern_pat call from SW_WATCHDOG in arm minimdump code
    
    Obviosuly, there are hardware watchdogs on arm.
    
    (cherry picked from commit 1a93b2288cb1cf160214272d62dcda2ad76a1f95)
---
 sys/arm/arm/minidump_machdep.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/sys/arm/arm/minidump_machdep.c b/sys/arm/arm/minidump_machdep.c
index 9db111547aaa..8a74dc9818ba 100644
--- a/sys/arm/arm/minidump_machdep.c
+++ b/sys/arm/arm/minidump_machdep.c
@@ -41,9 +41,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/kernel.h>
 #include <sys/kerneldump.h>
 #include <sys/msgbuf.h>
-#ifdef SW_WATCHDOG
 #include <sys/watchdog.h>
-#endif
 #include <vm/vm.h>
 #include <vm/vm_param.h>
 #include <vm/vm_page.h>
@@ -114,9 +112,8 @@ blk_write(struct dumperinfo *di, char *ptr, vm_paddr_t pa, size_t sz)
 			len = sz;
 
 		dumpsys_pb_progress(len);
-#ifdef SW_WATCHDOG
 		wdog_kern_pat(WD_LASTVAL);
-#endif
+
 		if (ptr) {
 			error = dump_append(di, ptr, len);
 			if (error)