powerpc/spufs: avoid magic numbers for mapping sizes
authorJeremy Kerr <jk@ozlabs.org>
Tue, 1 Jul 2008 00:22:50 +0000 (10:22 +1000)
committerJeremy Kerr <jk@ozlabs.org>
Wed, 9 Jul 2008 00:13:40 +0000 (10:13 +1000)
commit87ff6090bfe416c71730654ab53cd4ecffdd675e
tree18cc3755ae0b2552bf13c2ada7fc9e04c98a7a4c
parent2442a8ba5abe2c27c572bc522da1c33df98c6ec7
powerpc/spufs: avoid magic numbers for mapping sizes

Use a set of #defines for the size of context mappings, instead of
magic numbers.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
arch/powerpc/platforms/cell/spufs/context.c
arch/powerpc/platforms/cell/spufs/file.c
arch/powerpc/platforms/cell/spufs/spufs.h