linux-stable/drivers/hv
Arnd Bergmann 9249861713 hyperv/vmbus: include linux/bitops.h
[ Upstream commit 8017c99680 ]

On arm64 randconfig builds, hyperv sometimes fails with this
error:

In file included from drivers/hv/hv_trace.c:3:
In file included from drivers/hv/hyperv_vmbus.h:16:
In file included from arch/arm64/include/asm/sync_bitops.h:5:
arch/arm64/include/asm/bitops.h:11:2: error: only <linux/bitops.h> can be included directly
In file included from include/asm-generic/bitops/hweight.h:5:
include/asm-generic/bitops/arch_hweight.h:9:9: error: implicit declaration of function '__sw_hweight32' [-Werror,-Wimplicit-function-declaration]
include/asm-generic/bitops/atomic.h:17:7: error: implicit declaration of function 'BIT_WORD' [-Werror,-Wimplicit-function-declaration]

Include the correct header first.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20211018131929.2260087-1-arnd@kernel.org
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-26 11:40:22 +01:00
..
channel.c
channel_mgmt.c Drivers: hv: vmbus: Increase wait time for VMbus unload 2021-05-22 10:57:30 +02:00
connection.c
hv.c
hv_balloon.c hv_balloon: disable warning when floor reached 2020-11-18 18:27:53 +01:00
hv_fcopy.c
hv_kvp.c
hv_snapshot.c
hv_util.c hv_utils: Fix passing zero to 'PTR_ERR' warning 2021-07-20 16:17:33 +02:00
hv_utils_transport.c
hv_utils_transport.h
hyperv_vmbus.h hyperv/vmbus: include linux/bitops.h 2021-11-26 11:40:22 +01:00
Kconfig
Makefile
ring_buffer.c
vmbus_drv.c Drivers: hv: vmbus: Ignore CHANNELMSG_TL_CONNECT_RESULT(23) 2020-08-21 09:48:00 +02:00