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.
Unified · Split
| @@ -1 +0,0 @@ | ||
| 1 | −#include <asm-generic/local64.h> | |
| @@ -1,7 +1,6 @@ | ||
| 1 | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | 2 | generic-y += extable.h |
| 3 | 3 | generic-y += kvm_para.h |
| 4 | −generic-y += local64.h | |
| 5 | 4 | generic-y += mcs_spinlock.h |
| 6 | 5 | generic-y += parport.h |
| 7 | 6 | generic-y += user.h |
| @@ -2,7 +2,6 @@ · 1 unmodified line | ||
| 2 | 2 | generic-y += early_ioremap.h |
| 3 | 3 | generic-y += extable.h |
| 4 | 4 | generic-y += flat.h |
| 5 | −generic-y += local64.h | |
| 6 | 5 | generic-y += parport.h |
| 7 | 6 | |
| 8 | 7 | generated-y += mach-types.h |
| @@ -1,6 +1,5 @@ | ||
| 1 | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | 2 | generic-y += early_ioremap.h |
| 3 | −generic-y += local64.h | |
| 4 | 3 | generic-y += mcs_spinlock.h |
| 5 | 4 | generic-y += qrwlock.h |
| 6 | 5 | generic-y += qspinlock.h |
| @@ -2,7 +2,6 @@ · 1 unmodified line | ||
| 2 | 2 | generic-y += asm-offsets.h |
| 3 | 3 | generic-y += gpio.h |
| 4 | 4 | generic-y += kvm_para.h |
| 5 | −generic-y += local64.h | |
| 6 | 5 | generic-y += qrwlock.h |
| 7 | 6 | generic-y += user.h |
| 8 | 7 | generic-y += vmlinux.lds.h |
| @@ -2,7 +2,6 @@ · 1 unmodified line | ||
| 2 | 2 | generic-y += asm-offsets.h |
| 3 | 3 | generic-y += extable.h |
| 4 | 4 | generic-y += kvm_para.h |
| 5 | −generic-y += local64.h | |
| 6 | 5 | generic-y += mcs_spinlock.h |
| 7 | 6 | generic-y += parport.h |
| 8 | 7 | generic-y += spinlock.h |
| @@ -2,5 +2,4 @@ · 1 unmodified line | ||
| 2 | 2 | generic-y += extable.h |
| 3 | 3 | generic-y += iomap.h |
| 4 | 4 | generic-y += kvm_para.h |
| 5 | −generic-y += local64.h | |
| 6 | 5 | generic-y += mcs_spinlock.h |
| @@ -1 +0,0 @@ | ||
| 1 | −#include <asm-generic/local64.h> | |
| @@ -2,6 +2,5 @@ · 1 unmodified line | ||
| 2 | 2 | generated-y += syscall_table.h |
| 3 | 3 | generic-y += extable.h |
| 4 | 4 | generic-y += kvm_para.h |
| 5 | −generic-y += local64.h | |
| 6 | 5 | generic-y += mcs_spinlock.h |
| 7 | 6 | generic-y += spinlock.h |
| @@ -2,7 +2,6 @@ · 1 unmodified line | ||
| 2 | 2 | generated-y += syscall_table.h |
| 3 | 3 | generic-y += extable.h |
| 4 | 4 | generic-y += kvm_para.h |
| 5 | −generic-y += local64.h | |
| 6 | 5 | generic-y += mcs_spinlock.h |
| 7 | 6 | generic-y += parport.h |
| 8 | 7 | generic-y += syscalls.h |
| @@ -6,7 +6,6 @@ generated-y += syscall_table_64_n64.h · 5 unmodified lines | ||
| 6 | 6 | generated-y += syscall_table_64_o32.h |
| 7 | 7 | generic-y += export.h |
| 8 | 8 | generic-y += kvm_para.h |
| 9 | −generic-y += local64.h | |
| 10 | 9 | generic-y += mcs_spinlock.h |
| 11 | 10 | generic-y += parport.h |
| 12 | 11 | generic-y += qrwlock.h |
| @@ -4,6 +4,5 @@ generic-y += cmpxchg.h · 3 unmodified lines | ||
| 4 | 4 | generic-y += export.h |
| 5 | 5 | generic-y += gpio.h |
| 6 | 6 | generic-y += kvm_para.h |
| 7 | −generic-y += local64.h | |
| 8 | 7 | generic-y += parport.h |
| 9 | 8 | generic-y += user.h |
| @@ -1,7 +1,6 @@ | ||
| 1 | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | 2 | generic-y += extable.h |
| 3 | 3 | generic-y += kvm_para.h |
| 4 | −generic-y += local64.h | |
| 5 | 4 | generic-y += mcs_spinlock.h |
| 6 | 5 | generic-y += qspinlock_types.h |
| 7 | 6 | generic-y += qspinlock.h |
| @@ -3,6 +3,5 @@ generated-y += syscall_table_32.h · 2 unmodified lines | ||
| 3 | 3 | generated-y += syscall_table_64.h |
| 4 | 4 | generated-y += syscall_table_c32.h |
| 5 | 5 | generic-y += kvm_para.h |
| 6 | −generic-y += local64.h | |
| 7 | 6 | generic-y += mcs_spinlock.h |
| 8 | 7 | generic-y += user.h |
| @@ -5,7 +5,6 @@ generated-y += syscall_table_c32.h · 4 unmodified lines | ||
| 5 | 5 | generated-y += syscall_table_spu.h |
| 6 | 6 | generic-y += export.h |
| 7 | 7 | generic-y += kvm_types.h |
| 8 | −generic-y += local64.h | |
| 9 | 8 | generic-y += mcs_spinlock.h |
| 10 | 9 | generic-y += qrwlock.h |
| 11 | 10 | generic-y += vtime.h |
| @@ -3,6 +3,5 @@ generic-y += early_ioremap.h · 2 unmodified lines | ||
| 3 | 3 | generic-y += extable.h |
| 4 | 4 | generic-y += flat.h |
| 5 | 5 | generic-y += kvm_para.h |
| 6 | −generic-y += local64.h | |
| 7 | 6 | generic-y += user.h |
| 8 | 7 | generic-y += vmlinux.lds.h |
| @@ -7,5 +7,4 @@ generated-y += unistd_nr.h · 6 unmodified lines | ||
| 7 | 7 | generic-y += asm-offsets.h |
| 8 | 8 | generic-y += export.h |
| 9 | 9 | generic-y += kvm_types.h |
| 10 | −generic-y += local64.h | |
| 11 | 10 | generic-y += mcs_spinlock.h |
| @@ -1,6 +1,5 @@ | ||
| 1 | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | 2 | generated-y += syscall_table.h |
| 3 | 3 | generic-y += kvm_para.h |
| 4 | −generic-y += local64.h | |
| 5 | 4 | generic-y += mcs_spinlock.h |
| 6 | 5 | generic-y += parport.h |
| @@ -6,5 +6,4 @@ generated-y += syscall_table_64.h · 5 unmodified lines | ||
| 6 | 6 | generated-y += syscall_table_c32.h |
| 7 | 7 | generic-y += export.h |
| 8 | 8 | generic-y += kvm_para.h |
| 9 | −generic-y += local64.h | |
| 10 | 9 | generic-y += mcs_spinlock.h |
| @@ -1 +0,0 @@ | ||
| 1 | −#include <asm-generic/local64.h> | |
| @@ -2,7 +2,6 @@ · 1 unmodified line | ||
| 2 | 2 | generated-y += syscall_table.h |
| 3 | 3 | generic-y += extable.h |
| 4 | 4 | generic-y += kvm_para.h |
| 5 | −generic-y += local64.h | |
| 6 | 5 | generic-y += mcs_spinlock.h |
| 7 | 6 | generic-y += param.h |
| 8 | 7 | generic-y += qrwlock.h |
| @@ -34,6 +34,7 @@ mandatory-y += kmap_size.h · 33 unmodified lines | ||
| 34 | 34 | mandatory-y += kprobes.h |
| 35 | 35 | mandatory-y += linkage.h |
| 36 | 36 | mandatory-y += local.h |
| 37 | +mandatory-y += local64.h | |
| 37 | 38 | mandatory-y += mm-arch-hooks.h |
| 38 | 39 | mandatory-y += mmiowb.h |
| 39 | 40 | mandatory-y += mmu.h |