ARM7TDMI: simplify IRQ_SAVE_DISABLE().
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 13 May 2010 13:59:10 +0000 (13:59 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 13 May 2010 13:59:10 +0000 (13:59 +0000)
commitd2961e1bd3def26dc0bb0b38b493af69e4b1ceca
tree6db096b94d001de90111f2c38fa911ce534fad0d
parentd024efae0a3d5ccdc95de2beb740413582b06baa
ARM7TDMI: simplify IRQ_SAVE_DISABLE().

The temporary register moved to cpsr (to disable interrupts) can be
simply declared using a "register" variable.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3680 38d2e660-2303-0410-9eaa-f027e97ec537
bertos/cpu/irq.h