summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorYury Norov <ynorov@caviumnetworks.com>2015-12-02 14:00:10 +0000
committerJeffrey Vander Stoep <jeffv@google.com>2016-09-16 21:28:22 +0000
commitf65f45205e5bae2464be051cb6deca598f62f3e8 (patch)
treed9aad0d06cc6f92a905c3c768441e08d2d1aa3cb /include/linux/stackprotector.h
parent6b51f3d20c52982bd71028509ebb3a4a2389850b (diff)
UPSTREAM: arm64: fix COMPAT_SHMLBA definition for large pages
ARM glibc uses (4 * __getpagesize()) for SHMLBA, which is correct for 4KB pages and works fine for 64KB pages, but the kernel uses a hardcoded 16KB that is too small for 64KB page based kernels. This changes the definition to what user space sees when using 64KB pages. Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Yury Norov <ynorov@caviumnetworks.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Bug: 30369029 (cherry picked from commit b9b7aebb42d1b1392f3111de61136bb6cf3aae3f) Signed-off-by: Jeff Vander Stoep <jeffv@google.com> Change-Id: I698814d005a28c7fe3963cded9756f88660d4aa0
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions