+#ifdef REFBIT
+ /*
+ * If any processes attached to the text page have used
+ * it, then mark this one used and on the following
+ * distpte, they will all be marked used.
+ */
+ if (c->c_type == CTEXT && tanyu(xp, vtotp(rp, v)))
+ pte->pg_u = 1;
+ /*
+ * If page is referenced, clear its reference bit.
+ * If page is not referenced, clear valid bit
+ * and add it to the free list.
+ */
+ uncachecl(pte);
+ if (anycl(pte, pg_u))
+#else