]> git.baikalelectronics.ru Git - kernel.git/commit
coresight: do not use the BIT() macro in the UAPI header
authorEugene Syromiatnikov <esyr@redhat.com>
Tue, 24 Mar 2020 04:22:13 +0000 (05:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Apr 2020 07:08:42 +0000 (09:08 +0200)
commita0216775a9549e7d42462c7c8a55ade67d00c017
tree662b34291e6fc408c595bf6588343547068eb8b6
parente09b5a6213715c9a74cb241a7bee34b9854e1fd6
coresight: do not use the BIT() macro in the UAPI header

commit e1979da1b0028bd6052eefde47d4ea33051fca1a upstream.

The BIT() macro definition is not available for the UAPI headers
(moreover, it can be defined differently in the user space); replace
its usage with the _BITUL() macro that is defined in <linux/const.h>.

Fixes: 3d95e1f86b2a ("coresight: stm: adding driver for CoreSight STM component")
Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
Cc: stable <stable@vger.kernel.org>
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20200324042213.GA10452@asgard.redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/linux/coresight-stm.h