Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2014 16:42:26 +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: r261404 - head/sys/arm/arm
Message-ID:  <201402021642.s12GgQHr032923@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nwhitehorn
Date: Sun Feb  2 16:42:26 2014
New Revision: 261404
URL: http://svnweb.freebsd.org/changeset/base/261404

Log:
  Fix one remnant endian flaw here. The back-and-forth endian conversions are
  confusing.

Modified:
  head/sys/arm/arm/nexus.c

Modified: head/sys/arm/arm/nexus.c
==============================================================================
--- head/sys/arm/arm/nexus.c	Sun Feb  2 16:41:54 2014	(r261403)
+++ head/sys/arm/arm/nexus.c	Sun Feb  2 16:42:26 2014	(r261404)
@@ -362,7 +362,7 @@ nexus_ofw_map_intr(device_t dev, device_
 	}
 
 	/* Not in table, so guess */
-	interrupt = FDT_MAP_IRQ(intr_parent, intr[0]);
+	interrupt = FDT_MAP_IRQ(intr_parent, fdt32_to_cpu(intr[0]));
 
 	return (interrupt);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402021642.s12GgQHr032923>