Commit 9812a206 authored by Hugh Dickins's avatar Hugh Dickins Committed by sanglipeng
Browse files

ia64: fix an addr to taddr in huge_pte_offset()

stable inclusion
from stable-v5.10.180
commit eded3ad80a048deb6668bc44494e830122dcfc3a
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8FC2O

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=eded3ad80a048deb6668bc44494e830122dcfc3a

--------------------------------

commit 3647ebcf upstream.

I know nothing of ia64 htlbpage_to_page(), but guess that the p4d
line should be using taddr rather than addr, like everywhere else.

Link: https://lkml.kernel.org/r/732eae88-3beb-246-2c72-281de786740@google.com


Fixes: c03ab9e3 ("ia64: add support for folded p4d page tables")
Signed-off-by: default avatarHugh Dickins <hughd@google.com>
Acked-by: default avatarMike Kravetz <mike.kravetz@oracle.com>
Acked-by: default avatarMike Rapoport (IBM) <rppt@kernel.org>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent facc3934
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment