From: Thierry Fauck Date: Fri, 8 Aug 2014 21:22:46 +0000 (-0700) Subject: tools/testing/selftests/ptrace/peeksiginfo.c: add PAGE_SIZE definition X-Git-Tag: omap-for-v3.17/fixes-against-rc2~116^2~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b6aaf65d3b001ec9b5dcba0992b3b68cbf6057f;p=pandora-kernel.git tools/testing/selftests/ptrace/peeksiginfo.c: add PAGE_SIZE definition On IBM powerpc where multiple page size value are supported, current ppc64 and ppc64el distro don't define the PAGE_SIZE variable in /usr/include as this is a dynamic value retrieved by the getpagesize() or sysconf() defined in unistd.h. The PAGE_SIZE variable sounds defined when only one value is supported by the kernel. As such, when the PAGE_SIZE definition doesn't exist system should retrieve the dynamic value. Signed-off-by: Thierry Fauck Cc: Andrey Vagin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed