git: 1a93b2288cb1 - main - liberate wdog_kern_pat call from SW_WATCHDOG in arm minimdump code
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 16 Feb 2022 07:58:14 UTC
The branch main has been updated by avg: URL: https://cgit.FreeBSD.org/src/commit/?id=1a93b2288cb1cf160214272d62dcda2ad76a1f95 commit 1a93b2288cb1cf160214272d62dcda2ad76a1f95 Author: Andriy Gapon <avg@FreeBSD.org> AuthorDate: 2022-02-16 07:53:42 +0000 Commit: Andriy Gapon <avg@FreeBSD.org> CommitDate: 2022-02-16 07:57:52 +0000 liberate wdog_kern_pat call from SW_WATCHDOG in arm minimdump code Obviosuly, there are hardware watchdogs on arm. MFC after: 1 week --- 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 ab3034237d17..80692ee1359c 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, 0, len); if (error)