parisc: change value of SHMLBA from 0x00400000 to PAGE_SIZE
authorHelge Deller <deller@gmx.de>
Wed, 9 Apr 2014 17:49:28 +0000 (19:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 May 2014 20:20:28 +0000 (13:20 -0700)
commitc400a1db3399aad8141d88df4545e3f50b38c416
tree9470895f1fb1a357a0d18539b7e540d41e203f39
parent669d557d58abebcc1de06cf7f2686612df6adc5c
parisc: change value of SHMLBA from 0x00400000 to PAGE_SIZE

commit 0ef36bd2b37815719e31a72d2beecc28ca8ecd26 upstream.

On parisc, SHMLBA was defined to 0x00400000 (4MB) to reflect that we need to
take care of our caches for shared mappings. But actually, we can map a file at
any multiple address of PAGE_SIZE, so let us correct that now with a value of
PAGE_SIZE for SHMLBA.  Instead we now take care of this cache colouring via the
constant SHM_COLOUR while we map shared pages.

Signed-off-by: Helge Deller <deller@gmx.de>
CC: Jeroen Roovers <jer@gentoo.org>
CC: John David Anglin <dave.anglin@bell.net>
CC: Carlos O'Donell <carlos@systemhalted.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/include/asm/shmparam.h
arch/parisc/kernel/cache.c
arch/parisc/kernel/sys_parisc.c