[PATCH 2/4] watchdog: Introduce arch_touch_nmi_watchdog()

2017-05-29 Thread Nicholas Piggin
For architectures that define HAVE_NMI_WATCHDOG, instead of having them provide the complete touch_nmi_watchdog() function, just have them provide arch_touch_nmi_watchdog(). This gives the generic code more flexibility in implementing this function, and arch implementations don't miss out on touch

Re: [PATCH 2/4] watchdog: introduce arch_touch_nmi_watchdog()

2017-05-26 Thread Don Zickus
On Fri, May 26, 2017 at 10:31:03AM +1000, Nicholas Piggin wrote: > On Thu, 25 May 2017 09:55:59 -0400 > Don Zickus wrote: > > > On Thu, May 25, 2017 at 06:28:54PM +1000, Nicholas Piggin wrote: > > > For architectures that define HAVE_NMI_WATCHDOG, instead of having > > > them provide the complete

Re: [PATCH 2/4] watchdog: introduce arch_touch_nmi_watchdog()

2017-05-25 Thread Nicholas Piggin
On Thu, 25 May 2017 09:55:59 -0400 Don Zickus wrote: > On Thu, May 25, 2017 at 06:28:54PM +1000, Nicholas Piggin wrote: > > For architectures that define HAVE_NMI_WATCHDOG, instead of having > > them provide the complete touch_nmi_watchdog() function, just have > > them provide arch_touch_nmi_wat

Re: [PATCH 2/4] watchdog: introduce arch_touch_nmi_watchdog()

2017-05-25 Thread Don Zickus
On Thu, May 25, 2017 at 06:28:54PM +1000, Nicholas Piggin wrote: > For architectures that define HAVE_NMI_WATCHDOG, instead of having > them provide the complete touch_nmi_watchdog() function, just have > them provide arch_touch_nmi_watchdog(). > > This gives the generic code more flexibility in i

[PATCH 2/4] watchdog: introduce arch_touch_nmi_watchdog()

2017-05-25 Thread Nicholas Piggin
For architectures that define HAVE_NMI_WATCHDOG, instead of having them provide the complete touch_nmi_watchdog() function, just have them provide arch_touch_nmi_watchdog(). This gives the generic code more flexibility in implementing this function, and arch implementations don't miss out on touch