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)
committerHelge Deller <deller@gmx.de>
Sun, 13 Apr 2014 13:00:53 +0000 (15:00 +0200)
commit0ef36bd2b37815719e31a72d2beecc28ca8ecd26
tree585481e9ab58d3354977ff611ec21457220b29d8
parent496252f787560df18a65fdc74dc3180f7cd2c723
parisc: change value of SHMLBA from 0x00400000 to PAGE_SIZE

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>
Cc: stable@kernel.org [3.13+]
arch/parisc/include/asm/shmparam.h
arch/parisc/kernel/cache.c
arch/parisc/kernel/sys_parisc.c