summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSebastian Siewior <bigeasy@linutronix.de>2008-04-28 11:43:16 +0200
committerGreg Ungerer <gerg@uclinux.org>2008-08-11 13:47:19 +1000
commit7680a920c75b242adaedf3d93b7f6d253db56792 (patch)
tree4f302ebe96d3d72ae7b7a78ba3e562e3472c7cb6 /drivers
parent796aadeb1b2db9b5d463946766c5bbfd7717158c (diff)
m68knommu: use one exist from execption
Part of the code that did not make sense to me got removed by Greg. This is part two: The first compare is to check whether the interrupts are disabled or not. Depending on the result we exectute the RESTORE_ALL macro is not only restoring the stack but also returning to caller. The test for pending softirq has been removed because it is allready done in irq_exit(). Since system_call() is allso using the SAVE_ALL macro and returning via ret_from_exception label I see no reason why we could not do this here as well. This is also handy because if we return from the timer interrupt and we need to resched than we check for this :) Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions