patch-2.3.49 linux/include/asm-arm/pgtable.h
Next file: linux/include/asm-arm/socket.h
Previous file: linux/include/asm-arm/pci.h
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Thu Mar 2 10:18:49 2000
- Orig file:
v2.3.48/linux/include/asm-arm/pgtable.h
- Orig date:
Sun Feb 13 19:29:04 2000
diff -u --recursive --new-file v2.3.48/linux/include/asm-arm/pgtable.h linux/include/asm-arm/pgtable.h
@@ -32,7 +32,8 @@
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
#define PGDIR_MASK (~(PGDIR_SIZE-1))
-#define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE)
+#define FIRST_USER_PGD_NR 1
+#define USER_PTRS_PER_PGD ((TASK_SIZE/PGDIR_SIZE) - FIRST_USER_PGD_NR)
/*
* The table below defines the page protection levels that we insert into our
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)