Author: emaste
Date: Wed Jul  3 19:59:56 2019
New Revision: 349697
URL: https://svnweb.freebsd.org/changeset/base/349697

Log:
  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.
  
  Discussed with:       kib
  MFC after:    1 week
  Sponsored by: The FreeBSD Foundation

Modified:
  head/sys/vm/pmap.h

Modified: head/sys/vm/pmap.h
==============================================================================
--- head/sys/vm/pmap.h  Wed Jul  3 19:59:48 2019        (r349696)
+++ head/sys/vm/pmap.h  Wed Jul  3 19:59:56 2019        (r349697)
@@ -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);
_______________________________________________
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