patch-2.4.2 linux/include/asm-s390/mmu_context.h
Next file: linux/include/asm-s390/namei.h
Previous file: linux/include/asm-s390/misc390.h
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Tue Feb 13 14:13:44 2001
- Orig file:
v2.4.1/linux/include/asm-s390/mmu_context.h
- Orig date:
Thu Aug 10 13:30:05 2000
diff -u --recursive --new-file v2.4.1/linux/include/asm-s390/mmu_context.h linux/include/asm-s390/mmu_context.h
@@ -27,7 +27,8 @@
unsigned long pgd;
if (prev != next) {
- pgd = (__pa(next->pgd) & PAGE_MASK) | _SEGMENT_TABLE;
+ pgd = (__pa(next->pgd)&PAGE_MASK) |
+ (_SEGMENT_TABLE|USER_STD_MASK);
/* Load page tables */
asm volatile(" lctl 7,7,%0\n" /* secondary space */
" lctl 13,13,%0\n" /* home space */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)