]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/spufs: Constify context contents and coredump callback constants
authorJeremy Kerr <jk@ozlabs.org>
Tue, 17 Feb 2009 00:44:14 +0000 (11:44 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 22 Feb 2009 23:48:59 +0000 (10:48 +1100)
commit04f45bd73f3a24610a06720405af4d7f17f2e3ef
tree1d92362a16faafed97889cbe720a926fa0d1dd81
parent8cd2bdbbb8635a0e9325de8ff7387318f05fddab
powerpc/spufs: Constify context contents and coredump callback constants

The spufs context directory contents definitions are not changed after
initialisation, so we can declare them as const. We can do the same
with the spu coredump reader callbacks too.

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