diff options
author | 2019-04-10 15:18:46 +0300 | |
---|---|---|
committer | 2019-04-10 15:18:46 +0300 | |
commit | e00dac3daaa75fc91ec67f656ca56859075059c8 (patch) | |
tree | ba3a4db07127b38484573e63a2fe2cd4acedfcaa /tools/perf/scripts/python | |
parent | coresight: funnel: Support static funnel (diff) | |
download | linux-dev-e00dac3daaa75fc91ec67f656ca56859075059c8.tar.xz linux-dev-e00dac3daaa75fc91ec67f656ca56859075059c8.zip |
habanalabs: Cancel pr_fmt() definition dependency on includes order
pr_fmt() should be defined before including linux/printk.h, either
directly or indirectly, in order to avoid redefinition of the macro.
Currently the macro definition is in habanalabs.h, which is included in
many files, and that makes the addition/reorder of includes to be prone
to compilation errors.
This patch cancels this dependency by defining the macro only in the few
source files that use it.
Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions