]> git.baikalelectronics.ru Git - kernel.git/commit
m68knommu: simplify ColdFire resume code
authorGreg Ungerer <gerg@snapgear.com>
Wed, 25 Jul 2007 12:07:20 +0000 (22:07 +1000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 25 Jul 2007 18:05:01 +0000 (11:05 -0700)
commite8f11a2a15210983c4f66f4c622f8f1bd8e8e27e
treefdde56856b37c2f775ed757bb13ecbb9bece81ea
parent4877a6a60a5284a8e2cf8ae79ab9de367a6f6d11
m68knommu: simplify ColdFire resume code

It is useless to preserve THREAD_SR in `resume'.  The real user's sr
is actually in the stack.  We also don't need to disable interrupts :
we'll never be in an invalid state, the sp switch is atomic.

Signed-off-by: Philippe De Muyter <phdm@macqel.be>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m68knommu/platform/5307/entry.S