patch-2.1.19 linux/include/asm-sparc64/current.h
Next file: linux/include/asm-sparc64/dma.h
Previous file: linux/include/asm-sparc64/byteorder.h
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Mon Dec 30 12:00:02 1996
- Orig file:
v2.1.18/linux/include/asm-sparc64/current.h
- Orig date:
Thu Jan 1 02:00:00 1970
diff -u --recursive --new-file v2.1.18/linux/include/asm-sparc64/current.h linux/include/asm-sparc64/current.h
@@ -0,0 +1,13 @@
+#ifndef _SPARC64_CURRENT_H
+#define _SPARC64_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 /* !(_SPARC64_CURRENT_H) */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov