Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150771
b: refs/heads/master
c: a4a710c
h: refs/heads/master
i:
  150769: 676a698
  150767: a493e6e
v: v3
  • Loading branch information
Jarek Poplawski authored and David S. Miller committed Jun 9, 2009
1 parent f71cd23 commit 68d9d02
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: 728bf09827d350cdaa1f093170e745e8dac49b7a
refs/heads/master: a4a710c4a7490587406462bf1d54504b7783d7d7
4 changes: 2 additions & 2 deletions trunk/include/net/pkt_sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ static inline void *qdisc_priv(struct Qdisc *q)
typedef u64 psched_time_t;
typedef long psched_tdiff_t;

/* Avoid doing 64 bit divide by 1000 */
#define PSCHED_SHIFT 10
/* Avoid doing 64 bit divide */
#define PSCHED_SHIFT 6
#define PSCHED_US2NS(x) ((s64)(x) << PSCHED_SHIFT)
#define PSCHED_NS2US(x) ((x) >> PSCHED_SHIFT)

Expand Down

0 comments on commit 68d9d02

Please sign in to comment.