Author: jhibbits
Date: Wed May 10 03:20:20 2017
New Revision: 318129
URL: https://svnweb.freebsd.org/changeset/base/318129

Log:
  Fix check for fbt_excluded() in powerpc
  
  fbt_excluded() returns 1 if the symbol is to be excluded.  Every other
  arch has this correct, powerpc was the only broken one
  
  MFC after:    1 week

Modified:
  head/sys/cddl/dev/fbt/powerpc/fbt_isa.c

Modified: head/sys/cddl/dev/fbt/powerpc/fbt_isa.c
==============================================================================
--- head/sys/cddl/dev/fbt/powerpc/fbt_isa.c     Wed May 10 01:39:21 2017        
(r318128)
+++ head/sys/cddl/dev/fbt/powerpc/fbt_isa.c     Wed May 10 03:20:20 2017        
(r318129)
@@ -127,7 +127,7 @@ fbt_provide_module_function(linker_file_
                return (0);
 #endif
 
-       if (fbt_excluded(name) == 0)
+       if (fbt_excluded(name))
                return (0);
 
        instr = (uint32_t *) symval->value;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to