Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2017 03:20:21 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r318129 - head/sys/cddl/dev/fbt/powerpc
Message-ID:  <201705100320.v4A3KLwn005740@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



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