patch-2.4.23 linux-2.4.23/include/asm-sparc/pgtsrmmu.h

Next file: linux-2.4.23/include/asm-sparc/pgtsun4.h
Previous file: linux-2.4.23/include/asm-sparc/pci.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/include/asm-sparc/pgtsrmmu.h linux-2.4.23/include/asm-sparc/pgtsrmmu.h
@@ -9,6 +9,9 @@
 
 #include <asm/page.h>
 
+/* Number of contexts is implementation-dependent; 64k is the most we support */
+#define SRMMU_MAX_CONTEXTS    65536
+
 /* PMD_SHIFT determines the size of the area a second-level page table can map */
 #define SRMMU_PMD_SHIFT         18
 #define SRMMU_PMD_SIZE          (1UL << SRMMU_PMD_SHIFT)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)