Messages in this thread | | | Date | Thu, 9 Jun 2016 10:43:14 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH 1/2] Switch NMI watchdog to ref cycles on x86 |
| |
On Wed, Jun 08, 2016 at 02:36:46PM -0700, Andi Kleen wrote:
> This patch switches the NMI watchdog to use reference cycles
Are you sure; it seems to only add an #include
> --- > arch/x86/kernel/apic/hw_nmi.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/x86/kernel/apic/hw_nmi.c b/arch/x86/kernel/apic/hw_nmi.c > index c546aac36ee7..016f4263fad4 100644 > --- a/arch/x86/kernel/apic/hw_nmi.c > +++ b/arch/x86/kernel/apic/hw_nmi.c > @@ -18,6 +18,7 @@ > #include <linux/nmi.h> > #include <linux/module.h> > #include <linux/delay.h> > +#include <linux/perf_event.h> > > #ifdef CONFIG_HARDLOCKUP_DETECTOR > int hw_nmi_get_event(void) > -- > 2.5.5 >
| |