linux_dsm_epyc7002/arch/x86/include/asm
Randy Dunlap 2179bae04b local64.h: make <asm/local64.h> mandatory
[ Upstream commit 87dbc209ea04645fd2351981f09eff5d23f8e2e9 ]

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.

Link: https://lkml.kernel.org/r/20201227024446.17018-1-rdunlap@infradead.org
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Suggested-by: Christoph Hellwig <hch@infradead.org>
Reviewed-by: Masahiro Yamada <masahiroy@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Ley Foon Tan <ley.foon.tan@intel.com>
Cc: Mark Salter <msalter@redhat.com>
Cc: Aurelien Jacquiot <jacquiot.aurelien@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-01-12 20:18:16 +01:00
..
crypto
e820
fpu This feature enhances the current guest memory encryption support 2020-10-14 10:21:34 -07:00
numachip
trace
uv x86/platform/uv: Drop last traces of uv_flush_tlb_others 2020-11-11 13:16:51 +01:00
vdso vdso/treewide: Add vdso_data pointer argument to __arch_get_hw_counter() 2020-08-06 10:57:30 +02:00
xen xen: hypercall.h: fix duplicated word 2020-08-03 07:48:39 +02:00
acenv.h
acpi.h ACPI: processor: Use CPUIDLE_FLAG_TLB_FLUSHED 2020-09-16 19:36:25 +02:00
agp.h
alternative-asm.h
alternative.h
amd_nb.h
apb_timer.h
apic.h x86/apic: Fix x2apic enablement without interrupt remapping 2020-12-30 11:52:59 +01:00
apicdef.h
apm.h
arch_hweight.h
archrandom.h
asm-offsets.h
asm-prototypes.h x86/mce: Allow for copy_mc_fragile symbol checksum to be generated 2020-10-08 10:39:21 +02:00
asm.h Orphan link sections were a long-standing source of obscure bugs, 2020-10-12 13:39:19 -07:00
atomic64_32.h
atomic64_64.h
atomic.h locking/atomic: Move ATOMIC_INIT into linux/types.h 2020-07-29 16:14:18 +02:00
audit.h
barrier.h
bios_ebda.h
bitops.h
boot.h x86: Add support for ZSTD compressed kernel 2020-07-31 11:49:09 +02:00
bootparam_utils.h
bug.h
bugs.h
cache.h treewide: Convert macro and uses of __section(foo) to __section("foo") 2020-10-25 14:51:49 -07:00
cacheflush.h
cacheinfo.h x86/CPU/AMD: Save AMD NodeId as cpu_die_id 2020-12-30 11:54:29 +01:00
ce4100.h
checksum_32.h i386: propagate the calling conventions change down to csum_partial_copy_generic() 2020-08-20 15:45:18 -04:00
checksum_64.h amd64: switch csum_partial_copy_generic() to new calling conventions 2020-08-20 15:45:22 -04:00
checksum.h unify generic instances of csum_partial_copy_nocheck() 2020-08-20 15:45:14 -04:00
clocksource.h
cmdline.h
cmpxchg_32.h
cmpxchg_64.h
cmpxchg.h
compat.h compat: add a compat_need_64bit_alignment_fixup() helper 2020-09-17 13:00:46 -04:00
copy_mc_test.h x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user, kernel}() 2020-10-06 11:18:04 +02:00
cpu_device_id.h
cpu_entry_area.h x86/sev-es: Allocate and map an IST stack for #VC handler 2020-09-09 11:33:19 +02:00
cpu.h
cpufeature.h
cpufeatures.h This feature enhances the current guest memory encryption support 2020-10-14 10:21:34 -07:00
cpuidle_haltpoll.h
cpumask.h
crash.h
current.h
debugreg.h x86/debug: Remove aout_dump_debugregs() 2020-09-04 15:12:55 +02:00
delay.h
desc_defs.h x86/idt: Make IDT init functions static inlines 2020-09-07 22:44:43 +02:00
desc.h x86/idt: Make IDT init functions static inlines 2020-09-07 22:44:43 +02:00
device.h
disabled-features.h x86/cpufeatures: Mark ENQCMD as disabled when configured out 2020-09-17 20:22:15 +02:00
div64.h
dma-mapping.h dma-mapping: move dma-debug.h to kernel/dma/ 2020-10-06 07:07:05 +02:00
dma.h
dmi.h
doublefault.h
dwarf2.h
edac.h
efi.h efi/x86: Move 32-bit code into efi_32.c 2020-08-20 11:18:36 +02:00
elf.h kill elf_fpxregs_t 2020-07-27 14:29:23 -04:00
emergency-restart.h
emulate_prefix.h
entry-common.h x86/entry: Fix AC assertion 2020-09-04 15:09:29 +02:00
espfix.h
exec.h
extable.h x86/mce: Provide method to find out the type of an exception handler 2020-10-07 11:08:59 +02:00
fb.h
fixmap.h x86/paravirt: Use CONFIG_PARAVIRT_XXL instead of CONFIG_PARAVIRT 2020-08-15 13:52:11 +02:00
floppy.h
frame.h x86/unwind/fp: Fix FP unwinding in ret_from_fork 2020-09-18 09:59:40 +02:00
fsgsbase.h x86/fsgsbase: Replace static_cpu_has() with boot_cpu_has() 2020-08-24 18:18:32 +02:00
ftrace.h
futex.h
gart.h
GEN-for-each-reg.h
genapic.h
geode.h
hardirq.h
highmem.h
hpet.h
hugetlb.h
hw_breakpoint.h
hw_irq.h x86/msi: Consolidate MSI allocation 2020-09-16 16:52:35 +02:00
hyperv-tlfs.h x86/hyperv: Remove aliases with X64 in their name 2020-09-28 09:01:07 +00:00
hypervisor.h
i8259.h
ia32_unistd.h
ia32.h
idtentry.h This feature enhances the current guest memory encryption support 2020-10-14 10:21:34 -07:00
imr.h
inat_types.h
inat.h
init.h
insn-eval.h x86/insn: Add insn_has_rep_prefix() helper 2020-09-07 19:45:25 +02:00
insn.h x86/uprobes: Do not use prefixes.nbytes when looping over prefixes.bytes 2020-12-06 09:58:13 +01:00
inst.h Support for FSGSBASE. Almost 5 years after the first RFC to support it, 2020-08-04 21:16:22 -07:00
intel_ds.h
intel_mid_vrtc.h
intel_pconfig.h
intel_pt.h
intel_punit_ipc.h
intel_scu_ipc_legacy.h
intel_scu_ipc.h
intel_telemetry.h
intel-family.h
intel-mid.h treewide: Convert macro and uses of __section(foo) to __section("foo") 2020-10-25 14:51:49 -07:00
invpcid.h
io_apic.h
io_bitmap.h
io.h x86/asm: Carve out a generic movdir64b() helper for general usage 2020-10-07 17:49:25 +02:00
iomap.h
iommu_table.h
iommu.h
iosf_mbi.h
irq_remapping.h iommu/irq_remapping: Consolidate irq domain lookup 2020-09-16 16:52:30 +02:00
irq_stack.h x86/irq: Make run_on_irqstack_cond() typesafe 2020-09-22 22:13:34 +02:00
irq_vectors.h
irq_work.h
irq.h
irqdomain.h x86/pci: Set default irq domain in pcibios_add_device() 2020-09-16 16:52:37 +02:00
irqflags.h treewide: Convert macro and uses of __section(foo) to __section("foo") 2020-10-25 14:51:49 -07:00
ist.h
jailhouse_para.h
jump_label.h
kasan.h
kaslr.h
kbdleds.h
Kbuild
kdebug.h
kexec-bzimage64.h
kexec.h
kgdb.h
kmap_types.h
kprobes.h x86/debug: Move kprobe_debug_handler() into exc_debug_kernel() 2020-09-04 15:12:52 +02:00
kvm_host.h KVM: x86: Fix split-irqchip vs interrupt injection window request 2020-11-27 09:27:28 -05:00
kvm_page_track.h
kvm_para.h
kvm_types.h
kvm_vcpu_regs.h
kvmclock.h
linkage.h
livepatch.h
local.h
mach_timer.h
mach_traps.h
math_emu.h
mc146818rtc.h
mce.h x86/mce: Correct the detection of invalid notifier priorities 2020-12-30 11:53:03 +01:00
mem_encrypt.h treewide: Convert macro and uses of __section(foo) to __section("foo") 2020-10-25 14:51:49 -07:00
memtype.h
microcode_amd.h
microcode_intel.h
microcode.h
misc.h
mmconfig.h
mmu_context.h mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
mmu.h cpuidle: Make CPUIDLE_FLAG_TLB_FLUSHED generic 2020-08-26 12:41:53 +02:00
mmx.h
mmzone_32.h
mmzone_64.h
mmzone.h
module.h
mpspec_def.h
mpspec.h x86/init: Remove unused init ops 2020-09-16 16:52:28 +02:00
mshyperv.h Drivers: hv: vmbus: Add parsing of VMbus interrupt in ACPI DSDT 2020-10-14 19:14:51 +00:00
msi.h x86/msi: Use generic MSI domain ops 2020-09-16 16:52:35 +02:00
msidef.h
msr-index.h This feature enhances the current guest memory encryption support 2020-10-14 10:21:34 -07:00
msr-trace.h
msr.h x86: Use tracepoint_enabled() for msr tracepoints instead of open coding it 2020-09-28 10:36:02 -04:00
mtrr.h
mwait.h sched/idle: Fix arch_cpu_idle() vs tracing 2020-11-24 16:47:35 +01:00
nmi.h
nops.h
nospec-branch.h networking changes for the 5.10 merge window 2020-10-15 18:42:13 -07:00
numa_32.h
numa.h ACPI updates for 5.10-rc1 2020-10-14 11:42:04 -07:00
olpc_ofw.h
olpc.h
orc_lookup.h
orc_types.h objtool: Make unwind hint definitions available to other architectures 2020-09-10 10:43:13 -05:00
page_32_types.h x86: make TASK_SIZE_MAX usable from assembly code 2020-09-08 22:21:35 -04:00
page_32.h
page_64_types.h Merge branch 'work.set_fs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-10-22 09:59:21 -07:00
page_64.h
page_types.h
page.h
paravirt_types.h x86/paravirt: Remove set_pte_at() pv-op 2020-08-15 13:52:12 +02:00
paravirt.h x86/paravirt: Avoid needless paravirt step clearing page table entries 2020-08-15 13:52:12 +02:00
parport.h
pci_x86.h x86/pci: Reducde #ifdeffery in PCI init code 2020-09-16 16:52:35 +02:00
pci-direct.h
pci-functions.h
pci.h x86/irq: Cleanup the arch_*_msi_irqs() leftovers 2020-09-16 16:52:38 +02:00
percpu.h
perf_event_p4.h
perf_event.h perf/x86/intel: Make anythread filter support conditional 2020-11-09 18:12:36 +01:00
pgalloc.h asm-generic: pgalloc: provide generic pgd_free() 2020-08-07 11:33:26 -07:00
pgtable_32_areas.h
pgtable_32_types.h
pgtable_32.h
pgtable_64_types.h x86/mm/64: Do not sync vmalloc/ioremap mappings 2020-08-15 13:56:16 +02:00
pgtable_64.h The biggest change is to not sync the vmalloc and ioremap ranges for x86-64 anymore. 2020-08-03 17:25:42 -07:00
pgtable_areas.h
pgtable_types.h x86/mm/mem_encrypt: Fix definition of PMD_FLAGS_DEC_WP 2020-12-10 12:28:06 +01:00
pgtable-2level_types.h
pgtable-2level.h
pgtable-3level_types.h x86/paravirt: Remove 32-bit support from CONFIG_PARAVIRT_XXL 2020-08-15 13:52:11 +02:00
pgtable-3level.h
pgtable-invert.h
pgtable.h This feature enhances the current guest memory encryption support 2020-10-14 10:21:34 -07:00
pkeys.h
platform_sst_audio.h
pm-trace.h
posix_types.h
preempt.h
probe_roms.h
processor-cyrix.h
processor-flags.h
processor.h Merge branch 'work.set_fs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-10-22 09:59:21 -07:00
prom.h
proto.h x86/entry/64: Add entry code for #VC handler 2020-09-09 11:33:19 +02:00
pti.h
ptrace.h tracing/kprobes, x86/ptrace: Fix regs argument order for i386 2020-09-04 14:40:42 +02:00
purgatory.h
pvclock-abi.h
pvclock.h
qrwlock.h
qspinlock_paravirt.h
qspinlock.h
realmode.h x86/head/64: Don't call verify_cpu() on starting APs 2020-09-09 11:33:20 +02:00
reboot_fixups.h
reboot.h
required-features.h x86/paravirt: Use CONFIG_PARAVIRT_XXL instead of CONFIG_PARAVIRT 2020-08-15 13:52:11 +02:00
resctrl.h
rmwcc.h
seccomp.h
sections.h
segment.h This feature enhances the current guest memory encryption support 2020-10-14 10:21:34 -07:00
serial.h
set_memory.h
setup_arch.h
setup.h treewide: Convert macro and uses of __section(foo) to __section("foo") 2020-10-25 14:51:49 -07:00
sev-es.h x86/efi: Add GHCB mappings when SEV-ES is active 2020-09-10 21:48:50 +02:00
shmparam.h
sigcontext.h
sigframe.h
sighandling.h
signal.h
simd.h
smap.h
smp.h x86/headers: Remove APIC headers from <asm/smp.h> 2020-08-06 16:13:09 +02:00
sparsemem.h mm: fix phys_to_target_node() and memory_add_physaddr_to_nid() exports 2020-11-22 10:48:22 -08:00
spec-ctrl.h
special_insns.h * Use XORL instead of XORQ to avoid a REX prefix and save some bytes in 2020-10-13 13:36:07 -07:00
spinlock_types.h
spinlock.h
sta2x11.h
stackprotector.h
stacktrace.h x86/dumpstack/64: Add noinstr version of get_stack_info() 2020-09-09 11:33:19 +02:00
static_call.h static_call: Add static_call_cond() 2020-09-01 09:58:05 +02:00
string_32.h
string_64.h x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user, kernel}() 2020-10-06 11:18:04 +02:00
string.h
suspend_32.h
suspend_64.h
suspend.h
svm.h KVM: SVM: Add new intercept word in vmcb_control_area 2020-09-28 07:57:15 -04:00
swiotlb.h
switch_to.h
sync_bitops.h
sync_core.h x86/membarrier: Get rid of a dubious optimization 2020-12-09 09:37:42 +01:00
syscall_wrapper.h
syscall.h
syscalls.h
sysfb.h
text-patching.h x86/alternatives: Teach text_poke_bp() to emulate RET 2020-09-01 09:58:05 +02:00
thread_info.h x86: remove address space overrides using set_fs() 2020-09-08 22:21:36 -04:00
time.h
timer.h
timex.h
tlb.h
tlbbatch.h
tlbflush.h
topology.h
trace_clock.h
trap_pf.h x86/traps: Move pf error codes to <asm/trap_pf.h> 2020-09-07 19:45:24 +02:00
trapnr.h x86/boot/compressed/64: Add stage1 #VC handler 2020-09-07 19:45:25 +02:00
traps.h This feature enhances the current guest memory encryption support 2020-10-14 10:21:34 -07:00
tsc.h A set of locking fixes and updates: 2020-08-10 19:07:44 -07:00
uaccess_32.h
uaccess_64.h x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user, kernel}() 2020-10-06 11:18:04 +02:00
uaccess.h x86/uaccess: fix code generation in put_user() 2020-10-23 13:44:24 -07:00
umip.h
unaligned.h
unistd.h
unwind_hints.h objtool: Make unwind hint definitions available to other architectures 2020-09-10 10:43:13 -05:00
unwind.h
uprobes.h
user32.h
user_32.h
user_64.h
user.h
vdso.h
vermagic.h
vga.h
vgtod.h
virtext.h
vm86.h
vmalloc.h
vmware.h
vmx.h KVM: VMX: Rename RDTSCP secondary exec control name to insert "ENABLE" 2020-09-28 07:57:30 -04:00
vmxfeatures.h
vsyscall.h
vvar.h
word-at-a-time.h
x86_init.h This feature enhances the current guest memory encryption support 2020-10-14 10:21:34 -07:00
xor_32.h
xor_64.h
xor_avx.h
xor.h