diff options
author | Pavel Tatashin <pasha.tatashin@soleen.com> | 2019-12-04 18:59:22 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-01-08 19:32:55 +0300 |
commit | 7ea4088938b793d9a8d4e205b2fe54fba4cf9739 (patch) | |
tree | ea99627a9fd306dc29c5f7fc7745b9fc974fdd79 /arch/arm64/kernel/hibernate.c | |
parent | 13373f0e658013b0412ee58ce8131de390ff1c44 (diff) | |
download | linux-7ea4088938b793d9a8d4e205b2fe54fba4cf9739.tar.xz |
arm64: hibernate: add PUD_SECT_RDONLY
There is PMD_SECT_RDONLY that is used in pud_* function which is confusing.
Signed-off-by: Pavel Tatashin <pasha.tatashin@soleen.com>
Acked-by: James Morse <james.morse@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/kernel/hibernate.c')
-rw-r--r-- | arch/arm64/kernel/hibernate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/hibernate.c b/arch/arm64/kernel/hibernate.c index 1ca8af685e96..ce60bceed357 100644 --- a/arch/arm64/kernel/hibernate.c +++ b/arch/arm64/kernel/hibernate.c @@ -436,7 +436,7 @@ static int copy_pud(pgd_t *dst_pgdp, pgd_t *src_pgdp, unsigned long start, return -ENOMEM; } else { set_pud(dst_pudp, - __pud(pud_val(pud) & ~PMD_SECT_RDONLY)); + __pud(pud_val(pud) & ~PUD_SECT_RDONLY)); } } while (dst_pudp++, src_pudp++, addr = next, addr != end); |