diff options
author | Mike Leach <mike.leach@linaro.org> | 2021-04-15 22:24:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-16 09:34:57 +0200 |
commit | 9204ff94868496f2d9b8b173af52ec455160c364 (patch) | |
tree | 7c05e56b971aae4acce18daa70c5622febe0718c /net/bluetooth/hci_request.c | |
parent | phy: Revert "phy: ti: j721e-wiz: add missing of_node_put" (diff) | |
download | linux-9204ff94868496f2d9b8b173af52ec455160c364.tar.xz linux-9204ff94868496f2d9b8b173af52ec455160c364.zip |
coresight: etm-perf: Fix define build issue when built as module
CONFIG_CORESIGHT_SOURCE_ETM4X is undefined when built as module,
CONFIG_CORESIGHT_SOURCE_ETM4X_MODULE is defined instead.
Therefore code in format_attr_contextid_show() not correctly complied
when coresight built as module.
Use IS_ENABLED(CONFIG_CORESIGHT_SOURCE_ETM4X) to correct this.
Link: https://lore.kernel.org/r/20210414194808.22872-1-mike.leach@linaro.org
Fixes: 88f11864cf1d ("coresight: etm-perf: Support PID tracing for kernel at EL2")
Reviewed-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: Mike Leach <mike.leach@linaro.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210415202404.945368-2-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/bluetooth/hci_request.c')
0 files changed, 0 insertions, 0 deletions