Catalin Marinas cac4b8cdf5 arm64: Fix building error with 16KB pages and 36-bit VA
In such configuration, Linux uses only two pages of page tables and
__pud_populate() should not be used. However, the BUILD_BUG() triggers
since pud_sect() is still defined and the compiler cannot eliminate such
code, even though at run-time it should not be triggered. This patch
extends the #ifdef ARM64_64K_PAGES condition for pud_sect to include
PGTABLE_LEVELS < 3.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2016-02-25 16:01:26 +00:00
..
2015-11-04 14:47:13 -08:00
2016-01-12 20:46:53 +02:00
2014-04-18 11:40:33 +02:00
2015-10-28 19:09:17 +00:00
2012-09-17 13:42:21 +01:00
2014-11-05 09:03:25 +01:00
2015-07-27 11:08:42 +01:00
2012-09-17 13:42:21 +01:00
2012-09-17 13:42:04 +01:00
2014-09-25 15:35:41 +01:00
2012-09-17 13:41:56 +01:00
2016-02-24 14:57:27 +00:00
2016-02-24 14:57:27 +00:00
2016-02-16 15:10:46 +00:00
2015-05-19 15:27:42 +01:00
2015-10-29 16:55:15 +00:00
2014-11-28 10:24:59 +00:00
2016-02-25 10:32:23 +00:00
2015-10-12 17:46:36 +01:00
2014-07-10 11:06:00 +01:00
2015-10-14 13:51:41 +01:00
2015-10-14 13:51:41 +01:00
2012-09-17 13:42:09 +01:00
2012-09-17 13:42:09 +01:00