From: Will Deacon Date: Tue, 15 Nov 2011 11:11:19 +0000 (+0000) Subject: ARM: suspend: use idmap_pgd instead of suspend_pgd X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fe2907e801cb9bdc6e34e81a7bf62f9f1c3b46f;p=pandora-kernel.git ARM: suspend: use idmap_pgd instead of suspend_pgd The ARM CPU suspend code requires cpu_resume_mmu to be identity mapped in order to re-enable the MMU when coming out of suspend. Currently, this is accomplished by maintaining a suspend_pgd with the relevant mapping put in place at init time. This patch replaces the use of suspend_pgd with the new idmap_pgd. cpu_resume_mmu is placed in the .idmap.text section so that it is included in the identity map. Reviewed-by: Catalin Marinas Acked-by: Dave Martin Tested-by: Lorenzo Pieralisi Signed-off-by: Will Deacon --- Reading git-diff-tree failed