On Sun, Dec 27, 2020 at 11:45 AM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote: > > Make <asm-generic/local64.h> mandatory in include/asm-generic/Kbuild > and remove all arch/*/include/asm/local64.h arch-specific files since > they only #include <asm-generic/local64.h>. > > This fixes build errors on arch/c6x/ and arch/nios2/ for > block/blk-iocost.c. > > Build-tested on 21 of 25 arch-es. (tools problems on the others) > > Yes, we could even rename <asm-generic/local64.h> to > <linux/local64.h> and change all #includes to use > <linux/local64.h> instead. > > Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> > Suggested-by: Christoph Hellwig <hch@xxxxxxxxxxxxx> > Cc: Jens Axboe <axboe@xxxxxxxxx> > Cc: linux-block@xxxxxxxxxxxxxxx > Cc: Ley Foon Tan <ley.foon.tan@xxxxxxxxx> > Cc: Mark Salter <msalter@xxxxxxxxxx> > Cc: Aurelien Jacquiot <jacquiot.aurelien@xxxxxxxxx> > Cc: linux-c6x-dev@xxxxxxxxxxxxx > Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx> > Cc: Masahiro Yamada <masahiroy@xxxxxxxxxx> Reviewed-by: Masahiro Yamada <masahiroy@xxxxxxxxxx> > Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > --- > Would some $maintainer please plan to apply/merge this. > > v2: instead of making local64.h a generic-y header file and adding it > to the missing arch/ header locations, make it a mandotory-y header file > and remove it from most arch/ header locations. (Christoph) > -- Best Regards Masahiro Yamada