[PATCH] percpu-defs: Include missing linux/cache.h header
From: Markos Chandras
Date: Tue Oct 29 2013 - 05:54:51 EST
The percpu-defs.h header uses the ____cacheline_aligned*
macros which are defined in the linux/cache.h header.
Cc: Tejun Heo <tj@xxxxxxxxxx>
Cc: Christoph Lameter <cl@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Markos Chandras <markos.chandras@xxxxxxxxxx>
---
include/linux/percpu-defs.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/percpu-defs.h b/include/linux/percpu-defs.h
index 57e890a..9976a11 100644
--- a/include/linux/percpu-defs.h
+++ b/include/linux/percpu-defs.h
@@ -1,6 +1,8 @@
#ifndef _LINUX_PERCPU_DEFS_H
#define _LINUX_PERCPU_DEFS_H
+#include <linux/cache.h>
+
/*
* Base implementations of per-CPU variable declarations and definitions, where
* the section in which the variable is to be placed is provided by the
--
1.8.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/