Commit 4d6b11eb authored by Jon Masters's avatar Jon Masters

hwlat_detector: include linux/delay.h in hwlat_detector

This broke when compiling on i386 without X86_LOCAL_APIC because then
arch/x86/include/asm/smp.h doesn't include asm/apic.h which in turn includes
linux/delay.h.
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: default avatarJon Masters <jcm@jonmasters.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
parent 94366eae
...@@ -49,6 +49,7 @@ ...@@ -49,6 +49,7 @@
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <linux/uaccess.h> #include <linux/uaccess.h>
#include <linux/version.h> #include <linux/version.h>
#include <linux/delay.h>
#define BUF_SIZE_DEFAULT 262144UL /* 8K*(sizeof(entry)) */ #define BUF_SIZE_DEFAULT 262144UL /* 8K*(sizeof(entry)) */
#define BUF_FLAGS (RB_FL_OVERWRITE) /* no block on full */ #define BUF_FLAGS (RB_FL_OVERWRITE) /* no block on full */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment