patch-2.2.19 linux/arch/ppc/kernel/misc.S

Next file: linux/arch/ppc/kernel/openpic.c
Previous file: linux/arch/ppc/kernel/feature.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.18/arch/ppc/kernel/misc.S linux/arch/ppc/kernel/misc.S
@@ -563,6 +563,14 @@
 	isync /* Handle erratas in some cases */
 	blr
 
+_GLOBAL(_get_ICTC)
+       mfspr   r3,ICTC
+       blr
+
+_GLOBAL(_set_ICTC)
+       mtspr   ICTC,r3
+       blr
+
 /*
 	L2CR functions
 	Copyright © 1997-1998 by PowerLogix R & D, Inc.

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