summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/page.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-03-25 23:40:36 +0000
committer <ralf@linux-mips.org>1997-03-25 23:40:36 +0000
commit7206675c40394c78a90e74812bbdbf8cf3cca1be (patch)
tree251895cf5a0008e2b4ce438cb01ad4d55fb5b97b /include/asm-i386/page.h
parentbeb116954b9b7f3bb56412b2494b562f02b864b1 (diff)
Import of Linux/MIPS 2.1.14.2
Diffstat (limited to 'include/asm-i386/page.h')
-rw-r--r--include/asm-i386/page.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/asm-i386/page.h b/include/asm-i386/page.h
index e5fc37276..4744df9c8 100644
--- a/include/asm-i386/page.h
+++ b/include/asm-i386/page.h
@@ -53,20 +53,6 @@ typedef unsigned long pgprot_t;
#endif
-/*
- * We special-case the C-O-W ZERO_PAGE, because it's such
- * a common occurrence (no need to read the page to know
- * that it's zero - better for the cache and memory subsystem).
- */
-extern inline inline void copy_page(unsigned long from, unsigned long to)
-{
- if (from == ZERO_PAGE) {
- memset((void *) to, 0, PAGE_SIZE);
- return;
- }
- memcpy((void *) to, (void *) from, PAGE_SIZE);
-}
-
/* to align the pointer to the (next) page boundary */
#define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK)