diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2009-02-17 01:44:14 +0100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-02-23 00:48:58 +0100 |
commit | 60ee031940c1b09c137b617a8829e2f081961fe0 (patch) | |
tree | eb61ad956dc3b6e2e4e5f7434451fddc97cda160 /security | |
parent | powerpc/mm: Reduce hashtable size when using 64kB pages (diff) | |
download | linux-60ee031940c1b09c137b617a8829e2f081961fe0.tar.xz linux-60ee031940c1b09c137b617a8829e2f081961fe0.zip |
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 'security')
0 files changed, 0 insertions, 0 deletions