aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/armv7_mpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/armv7_mpu.h')
-rw-r--r--arch/arm/include/asm/armv7_mpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/armv7_mpu.h b/arch/arm/include/asm/armv7_mpu.h
index 8f77ec4..16b9d0d 100644
--- a/arch/arm/include/asm/armv7_mpu.h
+++ b/arch/arm/include/asm/armv7_mpu.h
@@ -7,6 +7,10 @@
#ifndef _ASM_ARMV7_MPU_H
#define _ASM_ARMV7_MPU_H
+#ifndef __ASSEMBLY__
+#include <linux/bitops.h>
+#endif
+
#ifdef CONFIG_CPU_V7M
#define AP_SHIFT 24
#define XN_SHIFT 28