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-Tag: v3.3-rc1~141^2~2^2~6^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6eadc67873d5f363c864cd7723104e7d47dcb44;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