diff options
author | Jarek Poplawski <jarkao2@gmail.com> | 2009-06-09 00:05:00 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-09 14:25:29 +0200 |
commit | 728bf09827d350cdaa1f093170e745e8dac49b7a (patch) | |
tree | 2a493b68ce1414ff9ae91d759d2ffe2f4fb4560a /include/net/regulatory.h | |
parent | net: dev_addr_init() fix (diff) | |
download | linux-728bf09827d350cdaa1f093170e745e8dac49b7a.tar.xz linux-728bf09827d350cdaa1f093170e745e8dac49b7a.zip |
pkt_sched: Use PSCHED_SHIFT in PSCHED time conversion
Use PSCHED_SHIFT constant instead of '10' in PSCHED_US2NS() and
PSCHED_NS2US() macros to enable changing this value later.
Additionally use PSCHED_SHIFT in sch_hfsc SM_SHIFT and ISM_SHIFT
definitions. This part of the patch is based on feedback from
Patrick McHardy <kaber@trash.net>.
Reported-by: Antonio Almeida <vexwek@gmail.com>
Tested-by: Antonio Almeida <vexwek@gmail.com>
Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/regulatory.h')
0 files changed, 0 insertions, 0 deletions