diff options
author | Will Deacon <will.deacon@arm.com> | 2011-11-15 11:11:19 +0000 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2011-12-06 14:04:14 +0000 |
commit | e6eadc67873d5f363c864cd7723104e7d47dcb44 (patch) | |
tree | b6256b48201535207bfd4750efc5ca4a7d431abd /block | |
parent | 8903826d0cd99aed9267e792d38284cf3092042b (diff) | |
download | linux-3.10-e6eadc67873d5f363c864cd7723104e7d47dcb44.tar.gz linux-3.10-e6eadc67873d5f363c864cd7723104e7d47dcb44.tar.bz2 linux-3.10-e6eadc67873d5f363c864cd7723104e7d47dcb44.zip |
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 <catalin.marinas@arm.com>
Acked-by: Dave Martin <dave.martin@linaro.org>
Tested-by: Lorenzo Pieralisi <Lorenzo.Pieralisi@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions