]> git.baikalelectronics.ru Git - kernel.git/commit
mn10300: Fix crash just after starting userspace on !CONFIG_PREEMPT
authorAkira Takeuchi <takeuchi.akr@jp.panasonic.com>
Tue, 10 Sep 2013 16:20:05 +0000 (17:20 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 10 Sep 2013 21:54:59 +0000 (14:54 -0700)
commit6c88549c3dd5607501034e5f61305dce5b0f3326
tree03fe3b9a13322bdb82a12e057244bedf84083b9e
parentea0298a5b2bb637493e82a5c50f0e0de372bf681
mn10300: Fix crash just after starting userspace on !CONFIG_PREEMPT

The mn10300 kernel crashes just after starting userspace programs, if
CONFIG_PREEMPT is disabled:

  Freeing unused kernel memory: 96K (90286000 - 9029e000)
  MISALIGN: 97c33ff9: unsupported instruction f
  MISALIGN: 97c33ff9: unsupported instruction f
  MISALIGN: 97c33ff9: unsupported instruction f
  :

This fixes the problem that was introduced by commit ccc56fff4a5c
("MN10300: Enable IRQs more in system call exit work path").

Signed-off-by: Akira Takeuchi <takeuchi.akr@jp.panasonic.com>
Signed-off-by: Kiyoshi Owada <owada.kiyoshi@jp.panasonic.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/mn10300/kernel/entry.S