parisc: Use absolute_pointer() to define PAGE0
authorHelge Deller <deller@gmx.de>
Thu, 16 Sep 2021 06:35:42 +0000 (08:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Oct 2021 08:23:40 +0000 (10:23 +0200)
commit6e417991564199fb60e4fd7d3bf2777848be77b4
tree5df23eed9f1f482d8ecc5f7275647615ddd8160e
parent91c89fe8affe326689a5cab6a86a1f280b1b5963
parisc: Use absolute_pointer() to define PAGE0

[ Upstream commit 90cc7bed1ed19f869ae7221a6b41887fe762a6a3 ]

Use absolute_pointer() wrapper for PAGE0 to avoid this compiler warning:

  arch/parisc/kernel/setup.c: In function 'start_parisc':
  error: '__builtin_memcmp_eq' specified bound 8 exceeds source size 0

Signed-off-by: Helge Deller <deller@gmx.de>
Co-Developed-by: Guenter Roeck <linux@roeck-us.net>
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/parisc/include/asm/page.h