Author: emaste
Date: Sun Mar  8 23:19:09 2020
New Revision: 358790
URL: https://svnweb.freebsd.org/changeset/base/358790

Log:
  MFC r349697: correct pmap_ts_referenced return type
  
  pmap_ts_referenced returns a count, not a boolean, and is supposed to
  have int as the return type not boolean_t.
  
  This worked previously because boolean_t is an int typedef.
  
  Sponsored by: The FreeBSD Foundation

Modified:
  stable/12/sys/vm/pmap.h
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/vm/pmap.h
==============================================================================
--- stable/12/sys/vm/pmap.h     Sun Mar  8 21:30:55 2020        (r358789)
+++ stable/12/sys/vm/pmap.h     Sun Mar  8 23:19:09 2020        (r358790)
@@ -164,7 +164,7 @@ void                 pmap_remove_all(vm_page_t m);
 void            pmap_remove_pages(pmap_t);
 void            pmap_remove_write(vm_page_t m);
 void            pmap_sync_icache(pmap_t, vm_offset_t, vm_size_t);
-boolean_t       pmap_ts_referenced(vm_page_t m);
+int             pmap_ts_referenced(vm_page_t m);
 void            pmap_unwire(pmap_t pmap, vm_offset_t start, vm_offset_t end);
 void            pmap_zero_page(vm_page_t);
 void            pmap_zero_page_area(vm_page_t, int off, int size);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to