projects/linux·commit f2ea97cb

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu into akpm

f2ea97cb · Linus Torvalds <[email protected]> · 2013-02-12 16:15:39 -08:00

Pull m68knommu fix from Greg Ungerer:
 "This contains a single critical fix for the non-MMU m68k platforms.

  The change of the kernel exec code path has revealed a problem in the
  start thread code that causes crashing on boot.  This is the fix for
  it."

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
  m68knommu: fix trap on execing /bin/init
Commit
f2ea97cbae25af2ec2ccfe892211c39147a8b4dc
Parents
73c0d752 · e95c3f7a

Merge commit. Changes below are compared with the first parent: 73c0d752.

Changes

1 files changed · +0 −1

FileStatusAddDelContent
arch/m68k/include/asm/processor.hmodified+0−1View file

arch/m68k/include/asm/processor.h

View file
diff --git a/arch/m68k/include/asm/processor.h b/arch/m68k/include/asm/processor.h
index ae700f4..b0768a6 100644
--- a/arch/m68k/include/asm/processor.h
+++ b/arch/m68k/include/asm/processor.h
@@ -130,7 +130,6 @@ extern int handle_kernel_fault(struct pt_regs *regs);
#define start_thread(_regs, _pc, _usp) \
do { \
(_regs)->pc = (_pc); \
- ((struct switch_stack *)(_regs))[-1].a6 = 0; \
setframeformat(_regs); \
if (current->mm) \
(_regs)->d5 = current->mm->start_data; \