Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 76f60b6d authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "arm: mm: Fix build error due to variable input to BUILD_BUG_ON"

parents ae48c532 d085a5ea
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1708,11 +1708,13 @@ static void __init early_fixmap_shutdown(void)
	pmd_clear(fixmap_pmd(va));
	local_flush_tlb_kernel_page(va);

	BUILD_BUG_ON(__end_of_permanent_fixed_addresses >
			__end_of_fixed_addresses);
	for (i = 0; i < __end_of_permanent_fixed_addresses; i++) {
		pte_t *pte;
		struct map_desc map;

		map.virtual = fix_to_virt(i);
		map.virtual = __fix_to_virt(i);
		pte = pte_offset_early_fixmap(pmd_off_k(map.virtual), map.virtual);

		/* Only i/o device mappings are supported ATM */