svn commit: r289258 - head/sys/dev/ioat

Conrad E. Meyer cem at FreeBSD.org
Tue Oct 13 19:46:13 UTC 2015


Author: cem
Date: Tue Oct 13 19:46:12 2015
New Revision: 289258
URL: https://svnweb.freebsd.org/changeset/base/289258

Log:
  ioat: Use correct macro, fix build on i386
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/sys/dev/ioat/ioat_internal.h

Modified: head/sys/dev/ioat/ioat_internal.h
==============================================================================
--- head/sys/dev/ioat/ioat_internal.h	Tue Oct 13 19:45:29 2015	(r289257)
+++ head/sys/dev/ioat/ioat_internal.h	Tue Oct 13 19:46:12 2015	(r289258)
@@ -65,7 +65,7 @@ ioat_bus_space_write_8_lower_first(bus_s
 	bus_space_write_4(tag, handle, offset + 4, val >> 32);
 }
 
-#ifdef i386
+#ifdef __i386__
 #define ioat_bus_space_read_8 ioat_bus_space_read_8_lower_first
 #define ioat_bus_space_write_8 ioat_bus_space_write_8_lower_first
 #else


More information about the svn-src-all mailing list