linux-stable/arch/parisc
Helge Deller 0a1b798e7d parisc: Drop PMD_SHIFT from calculation in pgtable.h
commit fe94cb1a61 upstream.

PMD_SHIFT isn't defined if CONFIG_PGTABLE_LEVELS == 3, and as
such the kernel test robot found this warning:

 In file included from include/linux/pgtable.h:6,
                  from arch/parisc/kernel/head.S:23:
 arch/parisc/include/asm/pgtable.h:169:32: warning: "PMD_SHIFT" is not defined, evaluates to 0 [-Wundef]
     169 | #if (KERNEL_INITIAL_ORDER) >= (PMD_SHIFT)

Avoid the warning by using PLD_SHIFT and BITS_PER_PTE.

Signed-off-by: Helge Deller <deller@gmx.de>
Reported-by: kernel test robot <lkp@intel.com>
Cc: <stable@vger.kernel.org> # 6.0+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-07 11:15:59 +01:00
..
boot
configs
include parisc: Drop PMD_SHIFT from calculation in pgtable.h 2023-01-07 11:15:59 +01:00
kernel parisc: Add missing FORCE prerequisites in Makefile 2023-01-07 11:15:59 +01:00
lib
math-emu parisc: align '*' in comment in math-emu code 2022-06-26 00:19:27 +02:00
mm - The usual batches of cleanups from Baoquan He, Muchun Song, Miaohe 2022-08-05 16:32:45 -07:00
Kbuild
Kconfig parisc: Allow CONFIG_64BIT with ARCH=parisc 2022-09-15 07:59:37 +02:00
Kconfig.debug
Makefile parisc: remove arch/parisc/nm 2022-05-29 18:39:35 +09:00
defpalo.conf
install.sh kbuild: factor out the common installation code into scripts/install.sh 2022-05-11 21:45:53 +09:00