linux-stable/arch/openrisc
Stafford Horne d8fee3f6fa openrisc/fault: Fix symbol scope warnings
Sparse reported the following warning:

    arch/openrisc/mm/fault.c:27:15: warning: symbol 'pte_misses' was not declared. Should it be static?
    arch/openrisc/mm/fault.c:28:15: warning: symbol 'pte_errors' was not declared. Should it be static?
    arch/openrisc/mm/fault.c:33:16: warning: symbol 'current_pgd' was not declared. Should it be static?

This patch fixes these by:
 - Remove unused pte_misses and pte_errors counters which are no longer
   used.
 - Add asm/mmu_context.h include to provide the current_pgd declaration.

Signed-off-by: Stafford Horne <shorne@gmail.com>
2022-05-23 17:15:49 +09:00
..
boot kbuild: do not quote string values in include/config/auto.conf 2022-01-08 18:03:57 +09:00
configs openrisc: Update litex defconfig to support glibc userland 2022-05-23 17:15:49 +09:00
include asm-generic updates for 5.18 2022-03-23 18:03:08 -07:00
kernel openrisc/time: Fix symbol scope warnings 2022-05-23 17:15:49 +09:00
lib openrisc/delay: Add include to fix symbol not declared warning 2022-05-23 17:15:49 +09:00
mm openrisc/fault: Fix symbol scope warnings 2022-05-23 17:15:49 +09:00
Kbuild kbuild: use more subdir- for visiting subdirectories while cleaning 2021-10-24 13:49:46 +09:00
Kconfig openrisc: Add gcc machine instruction flag configuration 2022-05-23 17:15:49 +09:00
Kconfig.debug treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile openrisc: Add gcc machine instruction flag configuration 2022-05-23 17:15:49 +09:00