Messages in this thread | | | From | Masahiro Yamada <> | Date | Mon, 28 Dec 2020 00:09:57 +0900 | Subject | Re: [PATCH v2] local64.h: make <asm/local64.h> mandatory |
| |
On Sun, Dec 27, 2020 at 11:45 AM Randy Dunlap <rdunlap@infradead.org> 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@infradead.org> > Suggested-by: Christoph Hellwig <hch@infradead.org> > Cc: Jens Axboe <axboe@kernel.dk> > Cc: linux-block@vger.kernel.org > Cc: Ley Foon Tan <ley.foon.tan@intel.com> > Cc: Mark Salter <msalter@redhat.com> > Cc: Aurelien Jacquiot <jacquiot.aurelien@gmail.com> > Cc: linux-c6x-dev@linux-c6x.org > Cc: Peter Zijlstra <peterz@infradead.org> > Cc: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Masahiro Yamada <masahiroy@kernel.org>
> Cc: Andrew Morton <akpm@linux-foundation.org> > --- > 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
| |