Skip to contentSkip to conversation

sh64-kernel-use-usp-instead-of-fn.patch removed from -mm tree

merged [email protected] 1 participant 1 message Nov 13, 2013 SuperH

lore
Share & tools
lore
#0 lore raw

Subject: [merged] sh64-kernel-use-usp-instead-of-fn.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 13 Nov 2013 12:36:58 -0800

The patch titled
Subject: sh64: kernel: use 'usp' instead of 'fn'
has been removed from the -mm tree. Its filename was
sh64-kernel-use-usp-instead-of-fn.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Chen Gang <[email protected]>
Subject: sh64: kernel: use 'usp' instead of 'fn'

'fn' is not defined, according to the implementation copy_thread() in 'sh32', need use 'usp' instead of.

---

 arch/sh/kernel/process_64.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/sh/kernel/process_64.c renamed from arch/sh/kernel/process_64.c~sh64-kernel-use-usp-instead-of-fn +1 -1
diff -puN arch/sh/kernel/process_64.c~sh64-kernel-use-usp-instead-of-fn arch/sh/kernel/process_64.c
@@ -393,7 +393,7 @@ int copy_thread(unsigned long clone_flag
 	if (unlikely(p->flags & PF_KTHREAD)) {
 		memset(childregs, 0, sizeof(struct pt_regs));
 		childregs->regs[2] = (unsigned long)arg;
-		childregs->regs[3] = (unsigned long)fn;
+		childregs->regs[3] = (unsigned long)usp;
 		childregs->sr = (1 << 30); /* not user_mode */
 		childregs->sr |= SR_FD; /* Invalidate FPU flag */
 		p->thread.pc = (unsigned long) ret_from_kernel_thread;

_

Patches currently in -mm which might be from [email protected] are

origin.patch kernel-kexecc-use-vscnprintf-instead-of-vsnprintf-in-vmcoreinfo_append_str.patch linux-next.patch