svn commit: r261404 - head/sys/arm/arm

Nathan Whitehorn nwhitehorn at FreeBSD.org
Sun Feb 2 16:42:27 UTC 2014


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);
 }


More information about the svn-src-all mailing list