diff options
author | Thierry Fauck <thierry@linux.vnet.ibm.com> | 2014-08-08 23:22:46 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-09 00:57:25 +0200 |
commit | 8b6aaf65d3b001ec9b5dcba0992b3b68cbf6057f (patch) | |
tree | db43d5265c4437707abc2e831eb2dbb6ce9d8f7e /kernel/smp.c | |
parent | kfifo: use BUG_ON (diff) | |
download | linux-8b6aaf65d3b001ec9b5dcba0992b3b68cbf6057f.tar.xz linux-8b6aaf65d3b001ec9b5dcba0992b3b68cbf6057f.zip |
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 <thierry@linux.vnet.ibm.com>
Cc: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/smp.c')
0 files changed, 0 insertions, 0 deletions