]> git.baikalelectronics.ru Git - kernel.git/commit
spufs: use new vm_ops->access to allow local state access from gdb
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 24 Jul 2008 04:27:09 +0000 (21:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:15 +0000 (10:47 -0700)
commit9bdd5cdb27bb0cd00b4ee4956521549c4023eee1
treed464a0cc5b7718d4d2482c52105e2d1a4fbca67b
parentf7d06951032f9872ad014ed50db23f260f8f424c
spufs: use new vm_ops->access to allow local state access from gdb

This uses the new vm_ops->access to allow gdb to access the SPU local
store.  We currently prevent access to problem state registers, this can
be done later if really needed but it's safer not to.

[akpm@linux-foundation.org: fix typo]
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Rik van Riel <riel@redhat.com>
Cc: Dave Airlie <airlied@linux.ie>
Cc: Hugh Dickins <hugh@veritas.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/powerpc/platforms/cell/spufs/file.c