Skip to content

Commit

Permalink
rusage: Move pgsize_to_pgshift to arch-memory.h
Browse files Browse the repository at this point in the history
Change-Id: If0833fc0192a6859747dca6542f962e6960084ff
  • Loading branch information
masamichitakagi committed Jun 21, 2019
1 parent c505d9c commit 9a7bb11
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions linux/include/ihk/ihk_rusage.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,4 @@ struct ihk_os_rusage {
int max_num_threads;
};

static inline int pgsize_to_pgshift(size_t pgsize)
{
return 63 - __builtin_clzl(pgsize);
}

#endif

0 comments on commit 9a7bb11

Please sign in to comment.