OpenCloudOS-Kernel/arch/openrisc/mm
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
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
cache.c openrisc: Fix cache API compile issue when not inlining 2020-09-07 21:02:15 +09:00
fault.c openrisc/fault: Fix symbol scope warnings 2022-05-23 17:15:49 +09:00
init.c mm: remove mmu_gathers storage from remaining architectures 2022-03-22 15:57:04 -07:00
ioremap.c openrisc: io: Add missing __iomem annotation to iounmap() 2021-01-20 06:14:26 +09:00
tlb.c openrisc: fix typos in comments 2022-05-12 06:01:32 +09:00