Home
last modified time | relevance | path

Searched hist:d8fee3f6fa5a49b338d9149cf498d58e024e27f9 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/openrisc/mm/
H A Dfault.cdiff d8fee3f6fa5a49b338d9149cf498d58e024e27f9 Sat Feb 05 16:55:12 CST 2022 Stafford Horne <shorne@gmail.com> 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>