From f1867662f726e00fc365b36ec66d83125348382b Mon Sep 17 00:00:00 2001 From: wenji Date: Fri, 17 Aug 2007 09:29:27 +0000 Subject: 2007-08-17 Wenji Huang * ioscheduler.stp (ioscheduler.elv_add_request, ioscheduler.elv_completed_request): Add checking $rq. * memory.stp (_IS_ZERO_PAGE): Modify reference to arguments. --- tapset/memory.stp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tapset/memory.stp') diff --git a/tapset/memory.stp b/tapset/memory.stp index 5173bf8c..db17ca4c 100644 --- a/tapset/memory.stp +++ b/tapset/memory.stp @@ -62,7 +62,7 @@ function addr_to_node:long(addr:long) /* pure */ /* Return whether a page to be copied is a zero page. */ function _IS_ZERO_PAGE:long(from:long, vaddr:long) %{ /* pure */ - THIS->__retvalue = (from == ZERO_PAGE(vaddr)); + THIS->__retvalue = (THIS->from == (long) ZERO_PAGE(THIS->vaddr)); %} -- cgit