patch-2.2.18 linux/include/asm-alpha/processor.h
Next file: linux/include/asm-alpha/semaphore.h
Previous file: linux/include/asm-alpha/page.h
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Tue Nov 28 22:28:50 2000
- Orig file:
v2.2.17/include/asm-alpha/processor.h
- Orig date:
Fri Apr 21 12:46:47 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/include/asm-alpha/processor.h linux/include/asm-alpha/processor.h
@@ -126,4 +126,11 @@
#define init_task (init_task_union.task)
#define init_stack (init_task_union.stack)
+extern long __kernel_thread(unsigned long, int (*)(void *), void *);
+
+static inline long kernel_thread(int (*fn)(void *), void * arg, unsigned long flags)
+{
+ return __kernel_thread(flags | CLONE_VM, fn, arg);
+}
+
#endif /* __ASM_ALPHA_PROCESSOR_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)