diff options
author | 2022-02-06 07:55:12 +0900 | |
---|---|---|
committer | 2022-05-23 17:15:49 +0900 | |
commit | d8fee3f6fa5a49b338d9149cf498d58e024e27f9 (patch) | |
tree | add6f52360f28c928b7fa0c8111c82644a317cab /scripts/gdb/linux/utils.py | |
parent | openrisc/delay: Add include to fix symbol not declared warning (diff) | |
download | linux-dev-d8fee3f6fa5a49b338d9149cf498d58e024e27f9.tar.xz linux-dev-d8fee3f6fa5a49b338d9149cf498d58e024e27f9.zip |
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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions