liberate wdog_kern_pat call from SW_WATCHDOG in arm minimdump code

Obviosuly, there are hardware watchdogs on arm.

MFC after:	1 week
This commit is contained in:
Andriy Gapon
2022-02-16 09:53:42 +02:00
parent 70439285ad
commit 1a93b2288c
+1 -4
View File
@@ -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, 0, len);
if (error)