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 13:05:07 +0000 (15:05 +0200)
commit7596c2bd112a80badcd5f8918ad0cbf4025c256e
tree0fc31f5c800fb30c6dd1fd9d9ca01cb75b269d4c
parent0abc7244c171e13e9ea2b2402b484a10b115700f
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