From: Martin Schwidefsky Date: Fri, 9 Apr 2010 11:43:00 +0000 (+0200) Subject: [S390] fix io_return critical section cleanup X-Git-Tag: v2.6.34-rc4~10^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=176b1803ce4690d0dd94e16f118dbd14af045034;p=pandora-kernel.git [S390] fix io_return critical section cleanup If a machine check interrupts the io interrupt handler on one of the instructions between io_return and io_leave the critical section cleanup code will move the return psw to io_work_loop. By doing that the switch from the asynchronous interrupt stack to the process stack is skipped. If e.g. TIF_NEED_RESCHED is set things break because the scheduler is called with the asynchronous interrupts stack. Moving the psw back to io_return instead fixes the problem. Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed