diff options
Diffstat (limited to 'sys/arch/armv7/exynos')
-rw-r--r-- | sys/arch/armv7/exynos/exdog.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/armv7/exynos/exdog.c b/sys/arch/armv7/exynos/exdog.c index ed89dfecd17..2a86d75a11d 100644 --- a/sys/arch/armv7/exynos/exdog.c +++ b/sys/arch/armv7/exynos/exdog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exdog.c,v 1.5 2017/03/04 18:17:24 kettenis Exp $ */ +/* $OpenBSD: exdog.c,v 1.6 2017/03/09 20:07:35 kettenis Exp $ */ /* * Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se> * @@ -94,7 +94,8 @@ exdog_attach(struct device *parent, struct device *self, void *aux) printf("\n"); exdog_sc = sc; - cpuresetfn = exdog_reset; + if (cpuresetfn == NULL) + cpuresetfn = exdog_reset; } void |