openrisc: add local64.h to fix blk-iocost build
authorStafford Horne <shorne@gmail.com>
Fri, 20 Nov 2020 21:54:56 +0000 (06:54 +0900)
committerStafford Horne <shorne@gmail.com>
Fri, 20 Nov 2020 22:13:07 +0000 (07:13 +0900)
commitd8398bf840f8964220508aff7901c924e322f5e8
treed033c7589488e95289a3087e4d647d99a0738c37
parent28b852b1dc351efc6525234c5adfd5bc2ad6d6e1
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 5e124f74325d
("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>
arch/openrisc/include/asm/Kbuild