summaryrefslogtreecommitdiffstats
path: root/libc/bionic/ndk_cruft.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/bionic/ndk_cruft.cpp')
-rw-r--r--libc/bionic/ndk_cruft.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/bionic/ndk_cruft.cpp b/libc/bionic/ndk_cruft.cpp
index 3637c3e..fc9d9d4 100644
--- a/libc/bionic/ndk_cruft.cpp
+++ b/libc/bionic/ndk_cruft.cpp
@@ -40,7 +40,7 @@
// getpagesize() and __getpageshift(). Needed for backwards compatibility with old NDK apps.
extern "C" {
unsigned int __page_size = PAGE_SIZE;
- unsigned int __page_shift = PAGE_SHIFT;
+ unsigned int __page_shift = 12;
}
// TODO: remove this backward compatibility hack (for jb-mr1 strace binaries).