]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commita352894d07059649398c4769dc8b645e1a1dad88
treed464a0cc5b7718d4d2482c52105e2d1a4fbca67b
parenta1f242ff460e4b50a045fa237c3c56cce9eabf83
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