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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to