diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2009-02-17 11:44:14 +1100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-02-23 10:48:58 +1100 |
commit | 60ee031940c1b09c137b617a8829e2f081961fe0 (patch) | |
tree | eb61ad956dc3b6e2e4e5f7434451fddc97cda160 /arch/powerpc/platforms/cell/io-workarounds.h | |
parent | 13870b657578bcce167978ee93dc02bf54e3beb0 (diff) |
powerpc/spufs: Use correct return value for spu_handle_mm_fault
Currently, spu_handle_mm_fault disregards the 'ret' variable and always
returns -EFAULT on error.
This change refactos spu_handle_mm_fault a little, to return the
ret variable as appropriate. This allows us to combine the error and
sucess paths.
Also, remove the #if-0-ed IS_VALID_EA() check, it has never been
used.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/io-workarounds.h')
0 files changed, 0 insertions, 0 deletions