Author: jhibbits
Date: Sat Feb 27 16:27:48 2016
New Revision: 296141
URL: https://svnweb.freebsd.org/changeset/base/296141

Log:
  Move another range check to use RMAN_IS_DEFAULT_RANGE().

Modified:
  head/sys/powerpc/mpc85xx/lbc.c

Modified: head/sys/powerpc/mpc85xx/lbc.c
==============================================================================
--- head/sys/powerpc/mpc85xx/lbc.c      Sat Feb 27 14:45:32 2016        
(r296140)
+++ head/sys/powerpc/mpc85xx/lbc.c      Sat Feb 27 16:27:48 2016        
(r296141)
@@ -674,7 +674,7 @@ lbc_alloc_resource(device_t bus, device_
        int needactivate;
 
        /* We only support default allocations. */
-       if (start != 0ul || end != ~0ul)
+       if (!RMAN_IS_DEFAULT_RANGE(start, end))
                return (NULL);
 
        sc = device_get_softc(bus);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to