Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=83ce6ef8408bbc7d9322ab50ba592f83012dea94 Commit: 83ce6ef8408bbc7d9322ab50ba592f83012dea94 Parent: 7dcca30a32aadb0520417521b0c44f42d09fe05c Author: Tony Luck <[EMAIL PROTECTED]> AuthorDate: Thu Jun 28 16:05:34 2007 -0700 Committer: Tony Luck <[EMAIL PROTECTED]> CommitDate: Mon Jul 9 10:30:28 2007 -0700
[IA64] Don't set psr.ic and psr.i simultaneously It's not a good idea to use "ssm psr.ic | psr.i" to simultaneously enable interrupts and interrupt state collection, the two bits can take effect asynchronously, so it is possible for an interrupt to be serviced while psr.ic is still zero. Signed-off-by: Tony Luck <[EMAIL PROTECTED]> --- arch/ia64/kernel/mca_drv_asm.S | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/arch/ia64/kernel/mca_drv_asm.S b/arch/ia64/kernel/mca_drv_asm.S index f2d4900..3bccb06 100644 --- a/arch/ia64/kernel/mca_drv_asm.S +++ b/arch/ia64/kernel/mca_drv_asm.S @@ -40,7 +40,11 @@ GLOBAL_ENTRY(mca_handler_bhhook) mov b6=loc1 ;; mov loc1=rp - ssm psr.i | psr.ic + ssm psr.ic + ;; + srlz.i + ;; + ssm psr.i br.call.sptk.many rp=b6 // does not return ... ;; mov ar.pfs=loc0 - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html