diff options
| author | Ben Hutchings <ben@decadent.org.uk> | 2019-02-12 15:36:24 +0000 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2019-02-18 20:10:28 +0100 |
| commit | d0ff23c1107e8c6ddc7534cafb65844b292b1540 (patch) | |
| tree | db1c8cb1d0dcda468d2b09a3207a8a76c15404eb /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | mt76x02u: remove bogus check and comment padding (diff) | |
| download | linux-d0ff23c1107e8c6ddc7534cafb65844b292b1540.tar.gz linux-d0ff23c1107e8c6ddc7534cafb65844b292b1540.zip | |
mt76: Use the correct hweight8() function
mt76_init_stream_cap() and mt76_get_txpower() call __sw_hweight8()
directly, but that's only defined if CONFIG_GENERIC_HWEIGHT is
enabled. The function that works on all architectures is hweight8().
Fixes: 551e1ef4d291 ("mt76: add mt76_init_stream_cap routine")
Fixes: 9313faacbb4e ("mt76: move mt76x02_get_txpower to mt76 core")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
