]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc/spufs: Fix incorrect buffer offset in regs write
authorJeremy Kerr <jk@ozlabs.org>
Tue, 3 Mar 2009 19:39:32 +0000 (19:39 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 11 Mar 2009 06:11:32 +0000 (17:11 +1100)
commit2fb4423aa38b598fa688bbd53a835bb7628c445b
tree3d6797938459bde5008bf6b3fa45a95a81b96fc0
parentd219889b769a56901c9a916187ee0af95e6ff8a6
powerpc/spufs: Fix incorrect buffer offset in regs write

We need to offset by *pos bytes, not *pos words.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/cell/spufs/file.c