aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2008-07-15 21:21:41 +0200
committerBartlomiej Zolnierkiewicz <[email protected]>2008-07-15 21:21:41 +0200
commitd6cddd3cac6650f273a2595c9f403aacee01ab05 (patch)
tree1aac71db2339075e976cd7703b646c6e84974cb2 /tools/perf/scripts/python
parent5ddee516dae1acc779b36cb7565720a80503196d (diff)
ide: eliminate FIT() macro
Replace the FIT() macro with the kernel-provided clamp_val() macro. FIT was always being called with a member of a struct ide_timing, which are shorts, and constant constraints for the min and max. Thus we can use clamp_val, rather than clamp_t. Signed-off-by: Harvey Harrison <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions