patch-2.1.19 linux/include/asm-sparc/current.h
Next file: linux/include/asm-sparc/mmu_context.h
Previous file: linux/include/asm-sparc/cache.h
Back to the patch index
Back to the overall index
-  Lines: 14
-  Date:
Mon Dec 30 11:59:59 1996
-  Orig file: 
v2.1.18/linux/include/asm-sparc/current.h
-  Orig date: 
Thu Jan  1 02:00:00 1970
diff -u --recursive --new-file v2.1.18/linux/include/asm-sparc/current.h linux/include/asm-sparc/current.h
@@ -0,0 +1,13 @@
+#ifndef _SPARC_CURRENT_H
+#define _SPARC_CURRENT_H
+
+/* Some architectures may want to do something "clever" here since
+ * this is the most frequently accessed piece of data in the entire
+ * kernel.
+ */
+extern struct task_struct *current_set[NR_CPUS];
+
+/* Sparc rules... */
+register struct task_struct *current asm("g6");
+
+#endif /* !(_SPARC_CURRENT_H) */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov