diff options
| author | Matti Vaittinen <[email protected]> | 2022-11-16 11:08:19 -0800 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2022-11-16 15:53:33 -0800 |
| commit | 5e7a0af793ce7ed528117145f856224deb81b7a7 (patch) | |
| tree | 609cdd8e1ed4514a60d95e49de663dac3b26faa8 /tools/perf/scripts/python/flamegraph.py | |
| parent | c18ef50346f213c4f20e3b56fd713a1e26ab5db3 (diff) | |
fixp-arith: do not require users to include bug.h
The fixp_sin32_rad() contains a call to BUG_ON(). If users of
fixp-arith.h have not included the bug.h prior including the fixp-arith.h
the compiler will not find the BUG_ON. Thus every user of fixp-arith.h
must also include bug.h (or roll own variant of BUG_ON()).
Include bug.h from fixp-arith.h so every user of fixp-arith.h does not
need to include the bug.h prior inclusion of fixp-arith.h
Fixes: 559addc25b00 ("[media] fixp-arith: replace sin/cos table by a better precision one")
Signed-off-by: Matti Vaittinen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions