diff options
author | Kees Cook <[email protected]> | 2017-10-04 17:48:38 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2017-11-14 20:11:57 -0700 |
commit | cbb9d17875d059aa5665a854fafeff922e7a7938 (patch) | |
tree | 76387a41d05e989a041700698584f49ebdfb48bc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b1bf42105aad7c976907665923bc53ce2244e494 (diff) |
amifloppy: Convert timers to use timer_setup()
This converts the amifloppy driver to pass the timer pointer to the
callback instead of the drive number (and flags). It eliminates the
decusagecounter flag, as it was unused, and drops the ininterrupt flag
which appeared to be a needless optimization. The drive can then be
calculated from the offset of the timer in the drive timer array.
Additionally moves to a static data variable instead of the
soon-to-be-gone timer->data field.
Cc: Jens Axboe <[email protected]>
Cc: Krzysztof Halasa <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions