summaryrefslogtreecommitdiffstats
path: root/arch/parisc/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-04-17 22:21:35 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-17 22:21:35 +0200
commit81cef0fe19e086ff6abfd45e92246f68ffa0185f (patch)
tree292b8f9a7697bde640fb2f167b1f37c1a12efc77 /arch/parisc/include
parentMerge branch 'ipmi' (emailed ipmi fixes) (diff)
parentparisc: fix epoll_pwait syscall on compat kernel (diff)
downloadlinux-81cef0fe19e086ff6abfd45e92246f68ffa0185f.tar.xz
linux-81cef0fe19e086ff6abfd45e92246f68ffa0185f.zip
Merge branch 'parisc-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux
Pull parisc updates from Helge Deller: "There are two major changes in this patchset: The major fix is that the epoll_pwait() syscall for 32bit userspace was not using the compat wrapper on a 64bit kernel. Secondly we changed the value of SHMLBA from 4MB to PAGE_SIZE to reflect that we can actually mmap to any multiple of PAGE_SIZE. The only thing which needs care is that shared mmaps need to be mapped at the same offset inside the 4MB cache window" * 'parisc-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux: parisc: fix epoll_pwait syscall on compat kernel parisc: change value of SHMLBA from 0x00400000 to PAGE_SIZE parisc: Replace __get_cpu_var uses for address calculation
Diffstat (limited to 'arch/parisc/include')
-rw-r--r--arch/parisc/include/asm/shmparam.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/parisc/include/asm/shmparam.h b/arch/parisc/include/asm/shmparam.h
index 628ddc22faa8..afe1300ab667 100644
--- a/arch/parisc/include/asm/shmparam.h
+++ b/arch/parisc/include/asm/shmparam.h
@@ -1,8 +1,7 @@
#ifndef _ASMPARISC_SHMPARAM_H
#define _ASMPARISC_SHMPARAM_H
-#define __ARCH_FORCE_SHMLBA 1
-
-#define SHMLBA 0x00400000 /* attach addr needs to be 4 Mb aligned */
+#define SHMLBA PAGE_SIZE /* attach addr a multiple of this */
+#define SHM_COLOUR 0x00400000 /* shared mappings colouring */
#endif /* _ASMPARISC_SHMPARAM_H */