patch-2.1.121 linux/include/asm-alpha/mmu_context.h
Next file: linux/include/asm-alpha/page.h
Previous file: linux/include/asm-alpha/machvec.h
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Sun Sep 6 10:34:33 1998
- Orig file:
v2.1.120/linux/include/asm-alpha/mmu_context.h
- Orig date:
Tue Aug 18 22:02:07 1998
diff -u --recursive --new-file v2.1.120/linux/include/asm-alpha/mmu_context.h linux/include/asm-alpha/mmu_context.h
@@ -35,14 +35,17 @@
*/
#define EV4_MAX_ASN 63
#define EV5_MAX_ASN 127
+#define EV6_MAX_ASN 255
#ifdef CONFIG_ALPHA_GENERIC
# define MAX_ASN (alpha_mv.max_asn)
#else
# ifdef CONFIG_ALPHA_EV4
# define MAX_ASN EV4_MAX_ASN
-# else
+# elif defined(CONFIG_ALPHA_EV5)
# define MAX_ASN EV5_MAX_ASN
+# else
+# define MAX_ASN EV6_MAX_ASN
# endif
#endif
@@ -155,7 +158,8 @@
a0 = MASK_CONTEXT(tss);
__asm__ __volatile__(
- "call_pal %2" : "=r"(v0), "=r"(a0)
+ "call_pal %2 #__reload_tss"
+ : "=r"(v0), "=r"(a0)
: "i"(PAL_swpctx), "r"(a0)
: "$1", "$16", "$22", "$23", "$24", "$25");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov