• Helge Deller's avatar
    parisc: change value of SHMLBA from 0x00400000 to PAGE_SIZE · 0ef36bd2
    Helge Deller authored
    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: default avatarHelge 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+]
    0ef36bd2
cache.c 15.3 KB