Commit 25492b11 authored by David Mosberger's avatar David Mosberger

ia64: Rename ia64_invoke_kernel_thread_helper() to start_kernel_thread()

	for symmetry with start_kernel() and to make it obvious when the
	end of the call-chain has been reached.
parent d116adb1
...@@ -816,7 +816,7 @@ GLOBAL_ENTRY(ia64_delay_loop) ...@@ -816,7 +816,7 @@ GLOBAL_ENTRY(ia64_delay_loop)
br.ret.sptk.many rp br.ret.sptk.many rp
END(ia64_delay_loop) END(ia64_delay_loop)
GLOBAL_ENTRY(ia64_invoke_kernel_thread_helper) GLOBAL_ENTRY(start_kernel_thread)
.prologue .prologue
.save rp, r0 // this is the end of the call-chain .save rp, r0 // this is the end of the call-chain
.body .body
...@@ -827,7 +827,7 @@ GLOBAL_ENTRY(ia64_invoke_kernel_thread_helper) ...@@ -827,7 +827,7 @@ GLOBAL_ENTRY(ia64_invoke_kernel_thread_helper)
mov out0 = r8 mov out0 = r8
br.call.sptk.many rp = sys_exit;; br.call.sptk.many rp = sys_exit;;
1: br.sptk.few 1b // not reached 1: br.sptk.few 1b // not reached
END(ia64_invoke_kernel_thread_helper) END(start_kernel_thread)
#ifdef CONFIG_IA64_BRL_EMU #ifdef CONFIG_IA64_BRL_EMU
......
...@@ -574,8 +574,8 @@ ia64_set_personality (struct elf64_hdr *elf_ex, int ibcs2_interpreter) ...@@ -574,8 +574,8 @@ ia64_set_personality (struct elf64_hdr *elf_ex, int ibcs2_interpreter)
pid_t pid_t
kernel_thread (int (*fn)(void *), void *arg, unsigned long flags) kernel_thread (int (*fn)(void *), void *arg, unsigned long flags)
{ {
extern void ia64_invoke_kernel_thread_helper (void); extern void start_kernel_thread (void);
unsigned long *helper_fptr = (unsigned long *) &ia64_invoke_kernel_thread_helper; unsigned long *helper_fptr = (unsigned long *) &start_kernel_thread;
struct { struct {
struct switch_stack sw; struct switch_stack sw;
struct pt_regs pt; struct pt_regs pt;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment