diff options
author | Dawei Li <set_pte_at@outlook.com> | 2024-03-09 18:24:07 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-11 16:13:43 +0100 |
commit | b47d9ffb2d1d03ddb2c6a85dcc62cda519da2726 (patch) | |
tree | f8da626f165686e3947ea882060661ed2e73d1c7 /lib/test-string_helpers.c | |
parent | 52ab77109035df34e41a28934b168575040c86b7 (diff) |
openrisc: Use asm-generic's version of fix_to_virt() & virt_to_fix()
commit 7f1e2fc493480086fbb375f4f6d33cb93fc069d6 upstream.
Openrisc's implementation of fix_to_virt() & virt_to_fix() share same
functionality with ones of asm generic.
Plus, generic version of fix_to_virt() can trap invalid index at compile
time.
Thus, Replace the arch-specific implementations with asm generic's ones.
Signed-off-by: Dawei Li <set_pte_at@outlook.com>
Signed-off-by: Stafford Horne <shorne@gmail.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions