[PATCH 6.17 404/563] sparc: fix accurate exception reporting in copy_to_user for Niagara 4