diff options
| author | Andy Shevchenko <[email protected]> | 2022-01-26 15:53:50 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2022-01-30 12:21:25 +0000 |
| commit | e820a33748b5e22cecafddf919a7d8679949deb1 (patch) | |
| tree | a49692232b07f06e9c169aa3e24b2ccb33339903 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | de645b279144b7d036ef672227af76739365f3ae (diff) | |
math.h: Introduce data types for fractional numbers
Introduce a macro to produce data types like
struct TYPE_fract {
__TYPE numerator;
__TYPE denominator;
};
to be used in the code wherever it's needed.
In the following changes convert some users to it.
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions