summaryrefslogtreecommitdiffstats
path: root/libc/string/generic/pagecopy.h
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-11-17 17:56:41 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-11-17 17:56:41 +0000
commit644c442da3f0cea2a2aa591f57726e3e6de823e2 (patch)
treef8d49598d16d350059059ce23b758da4afde7b15 /libc/string/generic/pagecopy.h
parente0c796f1422f3617302e4ecafef6d1f461499eba (diff)
downloaduClibc-alpine-644c442da3f0cea2a2aa591f57726e3e6de823e2.tar.bz2
uClibc-alpine-644c442da3f0cea2a2aa591f57726e3e6de823e2.tar.xz
Synch with trunk @ 24075.
Step 4 libc/string and asm implementation
Diffstat (limited to 'libc/string/generic/pagecopy.h')
-rw-r--r--libc/string/generic/pagecopy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/string/generic/pagecopy.h b/libc/string/generic/pagecopy.h
index 5a0ada1fa..b00db493b 100644
--- a/libc/string/generic/pagecopy.h
+++ b/libc/string/generic/pagecopy.h
@@ -40,7 +40,7 @@
*/
-#if PAGE_COPY_THRESHOLD
+#if defined PAGE_COPY_THRESHOLD && PAGE_COPY_THRESHOLD
#include <assert.h>
@@ -48,7 +48,7 @@
do \
{ \
if ((nbytes) >= PAGE_COPY_THRESHOLD && \
- PAGE_OFFSET ((dstp) - (srcp)) == 0) \
+ PAGE_OFFSET ((dstp) - (srcp)) == 0) \
{ \
/* The amount to copy is past the threshold for copying \
pages virtually with kernel VM operations, and the \