Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5f7426c0e16dba118aa1b18f3c97c3d7adfb7540 Commit: 5f7426c0e16dba118aa1b18f3c97c3d7adfb7540 Parent: 2a26302164e0d26df94810ffa2eabcad0fc55c95 Author: David S. Miller <[EMAIL PROTECTED]> AuthorDate: Wed Jul 18 23:16:51 2007 -0700 Committer: David S. Miller <[EMAIL PROTECTED]> CommitDate: Thu Jul 19 21:28:43 2007 -0700
[SPARC64]: Tweak assertions in sun4v_build_virq(). They are too strict. Signed-off-by: David S. Miller <[EMAIL PROTECTED]> --- arch/sparc64/kernel/irq.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/sparc64/kernel/irq.c b/arch/sparc64/kernel/irq.c index 8cb3358..c727956 100644 --- a/arch/sparc64/kernel/irq.c +++ b/arch/sparc64/kernel/irq.c @@ -701,10 +701,10 @@ unsigned int sun4v_build_virq(u32 devhandle, unsigned int devino) { unsigned long sysino, hv_err; - BUG_ON(devhandle & ~IMAP_IGN); - BUG_ON(devino & ~IMAP_INO); + BUG_ON(devhandle & devino); sysino = devhandle | devino; + BUG_ON(sysino & ~(IMAP_IGN | IMAP_INO)); hv_err = sun4v_vintr_set_cookie(devhandle, devino, sysino); if (hv_err) { - 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