From owner-svn-src-all@FreeBSD.ORG Fri Jun 18 21:24:17 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E06F10656C4; Fri, 18 Jun 2010 21:24:17 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8D3368FC17; Fri, 18 Jun 2010 21:24:17 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o5ILOHHv075946; Fri, 18 Jun 2010 21:24:17 GMT (envelope-from nwhitehorn@svn.freebsd.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o5ILOHGi075945; Fri, 18 Jun 2010 21:24:17 GMT (envelope-from nwhitehorn@svn.freebsd.org) Message-Id: <201006182124.o5ILOHGi075945@svn.freebsd.org> From: Nathan Whitehorn Date: Fri, 18 Jun 2010 21:24:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r209316 - head/sys/powerpc/include X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2010 21:24:17 -0000 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