Date: Fri, 18 Jun 2010 21:24:17 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r209316 - head/sys/powerpc/include Message-ID: <201006182124.o5ILOHGi075945@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nwhitehorn Date: Fri Jun 18 21:24:17 2010 New Revision: 209316 URL: http://svn.freebsd.org/changeset/base/209316 Log: Missed commit in r209310: the IRQ number in INTR_VEC() should have parantheses around it to allow arithmetic expressions to be passed. Submitted by: Andreas Tobler Modified: head/sys/powerpc/include/intr_machdep.h Modified: head/sys/powerpc/include/intr_machdep.h ============================================================================== --- head/sys/powerpc/include/intr_machdep.h Fri Jun 18 21:10:56 2010 (r209315) +++ head/sys/powerpc/include/intr_machdep.h Fri Jun 18 21:24:17 2010 (r209316) @@ -35,7 +35,7 @@ #define INTR_INTLINE(irq) (irq & ((1 << IGN_SHIFT) - 1)) #define INTR_IGN(irq) (irq >> IGN_SHIFT) -#define INTR_VEC(pic_id, irq) ((powerpc_ign_lookup(pic_id) << IGN_SHIFT) | irq) +#define INTR_VEC(pic_id, irq) ((powerpc_ign_lookup(pic_id) << IGN_SHIFT) | (irq)) /* * Default base address for MSI messages on PowerPC
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006182124.o5ILOHGi075945>