patch-2.4.20 linux-2.4.20/include/asm-parisc/fixmap.h
Next file: linux-2.4.20/include/asm-parisc/floppy.h
Previous file: linux-2.4.20/include/asm-parisc/fcntl.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Thu Nov 28 15:53:15 2002
- Orig file:
linux-2.4.19/include/asm-parisc/fixmap.h
- Orig date:
Tue Dec 5 12:29:39 2000
diff -urN linux-2.4.19/include/asm-parisc/fixmap.h linux-2.4.20/include/asm-parisc/fixmap.h
@@ -1,8 +1,12 @@
#ifndef _ASM_FIXMAP_H
#define _ASM_FIXMAP_H
-#define FIXADDR_TOP (0xffffe000UL)
-#define FIXADDR_SIZE (0 << PAGE_SHIFT)
-#define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE)
+/*
+ * Allocate a 8 Mb temporary mapping area for copy_user_page/clear_user_page.
+ * This area needs to be aligned on a 8 Mb boundary.
+ */
+
+#define TMPALIAS_MAP_START (__PAGE_OFFSET - 0x01000000)
+#define FIXADDR_START ((unsigned long)TMPALIAS_MAP_START)
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)