shithub: riscv

Download patch

ref: 3c41f98e0c5bd6dce0bfd5a9573c7c332bc784fd
parent: d4d86df2ab5fdc1d3f812fcc55fc74390a28d08f
author: cinap_lenrek <[email protected]>
date: Sun Jun 22 11:40:36 EDT 2014

remove imagepagerefs() acid function

--- a/sys/lib/acid/kernel
+++ b/sys/lib/acid/kernel
@@ -29,20 +29,6 @@
 // print Image cache contents
 IHASHSIZE = 64;
 
-defn imagepagerefs(i) {
-	local p, n;
-
-	n = 0;
-	p = palloc.$tail;
-	while p != 0 && p.image != 0 do {
-		if p.image == i then {
-			n = n + 1;
-		}
-		p = p.prev;
-	}
-	return n;
-}
-
 defn imagecacheline(h) {
 	local d, p, q;