summaryrefslogtreecommitdiffstats
path: root/arch/um/include/helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/helper.h')
-rw-r--r--arch/um/include/helper.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/um/include/helper.h b/arch/um/include/helper.h
new file mode 100644
index 00000000000..162ac31192f
--- /dev/null
+++ b/arch/um/include/helper.h
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
+ * Licensed under the GPL
+ */
+
+#ifndef __HELPER_H__
+#define __HELPER_H__
+
+extern int run_helper(void (*pre_exec)(void *), void *pre_data, char **argv,
+ unsigned long *stack_out);
+extern int run_helper_thread(int (*proc)(void *), void *arg,
+ unsigned int flags, unsigned long *stack_out,
+ int stack_order);
+extern int helper_wait(int pid);
+
+#endif
+
+/*
+ * Overrides for Emacs so that we follow Linus's tabbing style.
+ * Emacs will notice this stuff at the end of the file and automatically
+ * adjust the settings for this buffer only. This must remain at the end
+ * of the file.
+ * ---------------------------------------------------------------------------
+ * Local variables:
+ * c-file-style: "linux"
+ * End:
+ */