summaryrefslogtreecommitdiff
path: root/arch/ppc/kernel/dma-mapping.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2006-11-01 15:11:39 +1100
committerPaul Mackerras <paulus@samba.org>2006-11-01 15:16:04 +1100
commit4393c4f6788cee65095dd838cfeca6edefbfeb52 (patch)
treebf485a8f67b2e5860fefab58eecb77a7f0d254c5 /arch/ppc/kernel/dma-mapping.c
parent0d69a052d4d7c4085706b9ac0d1bd28ff90c9fca (diff)
[POWERPC] Make alignment exception always check exception table
The alignment exception used to only check the exception table for -EFAULT, not for other errors. That opens an oops window if we can coerce the kernel into getting an alignment exception for other reasons in what would normally be a user-protected accessor, which can be done via some of the futex ops. This fixes it by always checking the exception tables. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc/kernel/dma-mapping.c')
0 files changed, 0 insertions, 0 deletions