Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
openrisc: Use asm-generic's version of fix_to_virt() & virt_to_fix()
commit 7f1e2fc 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 <[email protected]> Signed-off-by: Stafford Horne <[email protected]> Cc: Guenter Roeck <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information