From e8402528a3e3f77fa804904e875453039ed4abee Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 13 Jun 2008 19:32:59 -0700 Subject: Add 'pure' to embedded-C functions that deserve it --- tapset/memory.stp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tapset/memory.stp') diff --git a/tapset/memory.stp b/tapset/memory.stp index 630e8984..a2d9cc19 100644 --- a/tapset/memory.stp +++ b/tapset/memory.stp @@ -46,8 +46,7 @@ probe vm.pagefault.return = kernel.function("__handle_mm_fault@mm/memory.c").ret } /* Return which node the given address belongs to in a NUMA system */ -function addr_to_node:long(addr:long) /* pure */ -%{ +function addr_to_node:long(addr:long) %{ /* pure */ int nid; int pfn = __pa(THIS->addr) >> PAGE_SHIFT; for_each_online_node(nid) -- cgit