patch-2.3.99-pre9 linux/arch/ppc/kernel/head.S
Next file: linux/arch/ppc/kernel/ppc_ksyms.c
Previous file: linux/arch/ppc/kernel/entry.S
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Mon May 15 14:53:30 2000
- Orig file:
v2.3.99-pre8/linux/arch/ppc/kernel/head.S
- Orig date:
Thu May 11 15:30:06 2000
diff -u --recursive --new-file v2.3.99-pre8/linux/arch/ppc/kernel/head.S linux/arch/ppc/kernel/head.S
@@ -1459,7 +1459,8 @@
/*
* Set up the segment registers for a new context.
*/
-_GLOBAL(set_context)
+ .globl set_context
+set_context:
rlwinm r3,r3,4,8,27 /* VSID = context << 4 */
addis r3,r3,0x6000 /* Set Ks, Ku bits */
li r0,12 /* TASK_SIZE / SEGMENT_SIZE */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)