ARM: 9141/1: only warn about XIP address when not compile testing
[sfrench/cifs-2.6.git] / arch / arm / kernel / vmlinux-xip.lds.S
index e0c00986487fb08d89595f194e3b088fdd4b2335..f14c2360ea0b1e4efcc67a6798e9daf7283a38c0 100644 (file)
@@ -176,7 +176,7 @@ ASSERT((__arch_info_end - __arch_info_begin), "no machine record defined")
 ASSERT((_end - __bss_start) >= 12288, ".bss too small for CONFIG_XIP_DEFLATED_DATA")
 #endif
 
-#ifdef CONFIG_ARM_MPU
+#if defined(CONFIG_ARM_MPU) && !defined(CONFIG_COMPILE_TEST)
 /*
  * Due to PMSAv7 restriction on base address and size we have to
  * enforce minimal alignment restrictions. It was seen that weaker