Skip to contentSkip to conversation

percpu-defs: Include missing linux/cache.h header

PATCH New Markos Chandras 1 participant 1 message Oct 29, 2013 Per-CPU memory allocator

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 percpu-defs: Include missing linux/cache.h header

The percpu-defs.h header uses the ____cacheline_aligned* macros which are defined in the linux/cache.h header.

Cc Tejun Heo <[email protected]>
Cc Christoph Lameter <[email protected]>
---
 include/linux/percpu-defs.h | 2 ++
 1 file changed, 2 insertions(+)
include/linux/percpu-defs.h +2 -0
index 57e890a..9976a11 100644
@@ -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
Signature · 1 line
1.8.4