patch-2.0.14 linux/arch/alpha/mm/init.c

Next file: linux/drivers/block/genhd.c
Previous file: linux/arch/alpha/lib/io.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.13/linux/arch/alpha/mm/init.c linux/arch/alpha/mm/init.c
@@ -131,8 +131,8 @@
 	newptbr = ((unsigned long) swapper_pg_dir - PAGE_OFFSET) >> PAGE_SHIFT;
 	pgd_val(swapper_pg_dir[1023]) = (newptbr << 32) | pgprot_val(PAGE_KERNEL);
 	init_task.tss.ptbr = newptbr;
-	init_task.tss.flags = 1;
-	init_task.tss.segment = KERNEL_DS;
+	init_task.tss.pal_flags = 1;	/* set FEN, clear everything else */
+	init_task.tss.flags = 0;
 	init_task.kernel_stack_page = INIT_STACK;
 	load_PCB(&init_task.tss);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov