mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
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 <[email protected]> CC: Jeroen Roovers <[email protected]> CC: John David Anglin <[email protected]> CC: Carlos O'Donell <[email protected]> Cc: [email protected] [3.13+]
8 lines
224 B
C
8 lines
224 B
C
#ifndef _ASMPARISC_SHMPARAM_H
|
|
#define _ASMPARISC_SHMPARAM_H
|
|
|
|
#define SHMLBA PAGE_SIZE /* attach addr a multiple of this */
|
|
#define SHM_COLOUR 0x00400000 /* shared mappings colouring */
|
|
|
|
#endif /* _ASMPARISC_SHMPARAM_H */
|