Skip to content

Commit d8398bf

Browse files
committed
openrisc: add local64.h to fix blk-iocost build
As of 5.10 OpenRISC allyesconfig builds fail with the following error. $ make ARCH=openrisc CROSS_COMPILE=or1k-elf- block/blk-iocost.o CALL scripts/checksyscalls.sh CALL scripts/atomic/check-atomics.sh CC block/blk-iocost.o block/blk-iocost.c:183:10: fatal error: asm/local64.h: No such file or directory 183 | #include <asm/local64.h> | ^~~~~~~~~~~~~~~ compilation terminated. The new include of local64.h was added in commit 5e124f7 ("blk-iocost: use local[64]_t for percpu stat") by Tejun. Adding the generic version of local64.h to OpenRISC fixes the build issue. Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Stafford Horne <shorne@gmail.com>
1 parent 28b852b commit d8398bf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • arch/openrisc/include/asm

arch/openrisc/include/asm/Kbuild

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22
generic-y += extable.h
33
generic-y += kvm_para.h
4+
generic-y += local64.h
45
generic-y += mcs_spinlock.h
56
generic-y += qspinlock_types.h
67
generic-y += qspinlock.h

0 commit comments

Comments
 (0)