Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9874
b: refs/heads/master
c: e26148d
h: refs/heads/master
v: v3
  • Loading branch information
Tim Schmielau authored and Linus Torvalds committed Oct 15, 2005
1 parent d0ab3b8 commit 00e0a9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f1ac046d7b297186f755fb213589b539426e1406
refs/heads/master: e26148d934762b61133a64b6862f870624ff617d
4 changes: 2 additions & 2 deletions trunk/include/linux/acct.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,13 @@ typedef struct acct acct_t;
#ifdef __KERNEL__
/*
* Yet another set of HZ to *HZ helper functions.
* See <linux/times.h> for the original.
* See <linux/jiffies.h> for the original.
*/

static inline u32 jiffies_to_AHZ(unsigned long x)
{
#if (TICK_NSEC % (NSEC_PER_SEC / AHZ)) == 0
return x / (HZ / USER_HZ);
return x / (HZ / AHZ);
#else
u64 tmp = (u64)x * TICK_NSEC;
do_div(tmp, (NSEC_PER_SEC / AHZ));
Expand Down

0 comments on commit 00e0a9c

Please sign in to comment.