summaryrefslogtreecommitdiff
path: root/arch/arm64/mm/physaddr.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/mm/physaddr.c')
-rw-r--r--arch/arm64/mm/physaddr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/mm/physaddr.c b/arch/arm64/mm/physaddr.c
index 67a9ba9eaa96..cde44c13dda1 100644
--- a/arch/arm64/mm/physaddr.c
+++ b/arch/arm64/mm/physaddr.c
@@ -9,7 +9,7 @@
phys_addr_t __virt_to_phys(unsigned long x)
{
- WARN(!__is_lm_address(x),
+ WARN(!__is_lm_address(__tag_reset(x)),
"virt_to_phys used for non-linear address: %pK (%pS)\n",
(void *)x,
(void *)x);