/usr/src/linux-headers-5.15.0-181/arch/ia64/include/asm
NameSizeModeActions
native/-0755rm
sn/-0755rm
uv/-0755rm
acenv.h11530644editdlrm
acpi-ext.h4440644editdlrm
acpi.h27720644editdlrm
agp.h8630644editdlrm
asm-offsets.h350644editdlrm
asm-prototypes.h8920644editdlrm
asmmacro.h33720644editdlrm
atomic.h63900644editdlrm
barrier.h24140644editdlrm
bitops.h111120644editdlrm
bug.h4040644editdlrm
cache.h7520644editdlrm
cacheflush.h9030644editdlrm
checksum.h17460644editdlrm
clocksource.h2760644editdlrm
cmpxchg.h4790644editdlrm
cpu.h4560644editdlrm
cputime.h6480644editdlrm
current.h4180644editdlrm
cyclone.h4420644editdlrm
delay.h17380644editdlrm
device.h2360644editdlrm
div64.h310644editdlrm
dma-mapping.h3820644editdlrm
dma.h3510644editdlrm
dmi.h3430644editdlrm
early_ioremap.h4280644editdlrm
efi.h3740644editdlrm
elf.h100250644editdlrm
emergency-restart.h1490644editdlrm
esi.h8870644editdlrm
exception.h6090644editdlrm
export.h1150644editdlrm
extable.h3300644editdlrm
fb.h5690644editdlrm
fpswa.h19250644editdlrm
ftrace.h7480644editdlrm
futex.h26160644editdlrm
gcc_intrin.h3680644editdlrm
hardirq.h5610644editdlrm
hugetlb.h9330644editdlrm
hw_irq.h57760644editdlrm
idle.h2000644editdlrm
intrinsics.h3060644editdlrm
io.h75270644editdlrm
iommu.h5050644editdlrm
iommu_table.h1750644editdlrm
iosapic.h27520644editdlrm
irq.h9600644editdlrm
irqflags.h20960644editdlrm
irq_regs.h340644editdlrm
irq_remapping.h1420644editdlrm
Kbuild1390644editdlrm
kdebug.h10110644editdlrm
kexec.h16060644editdlrm
kprobes.h31480644editdlrm
kregs.h68900644editdlrm
libata-portmap.h2250644editdlrm
linkage.h3980644editdlrm
local.h310644editdlrm
mca.h60090644editdlrm
mca_asm.h73560644editdlrm
meminit.h17510644editdlrm
mman.h4320644editdlrm
mmiowb.h4330644editdlrm
mmu.h3740644editdlrm
mmu_context.h53040644editdlrm
mmzone.h8690644editdlrm
module.h11540644editdlrm
module.lds.h3940644editdlrm
msidef.h14380644editdlrm
nodedata.h18980644editdlrm
numa.h23380644editdlrm
page.h58560644editdlrm
pal.h546740644editdlrm
param.h4390644editdlrm
parport.h5340644editdlrm
patch.h12140644editdlrm
pci.h20070644editdlrm
percpu.h13540644editdlrm
pgalloc.h15690644editdlrm
pgtable.h198460644editdlrm
processor.h178760644editdlrm
ptrace.h52580644editdlrm
sal.h271890644editdlrm
sections.h16790644editdlrm
serial.h4460644editdlrm
shmparam.h4450644editdlrm
signal.h7490644editdlrm
smp.h25140644editdlrm
sparsemem.h7850644editdlrm
spinlock.h71490644editdlrm
spinlock_types.h4750644editdlrm
string.h6590644editdlrm
switch_to.h27020644editdlrm
syscall.h18200644editdlrm
termios.h19230644editdlrm
thread_info.h49060644editdlrm
timex.h15020644editdlrm
tlb.h15770644editdlrm
tlbflush.h31650644editdlrm
topology.h14080644editdlrm
types.h8280644editdlrm
uaccess.h97300644editdlrm
uncached.h3140644editdlrm
unistd.h9870644editdlrm
unwind.h58730644editdlrm
user.h22990644editdlrm
ustack.h4030644editdlrm
vermagic.h3410644editdlrm
vga.h6490644editdlrm
vmalloc.h900644editdlrm
xor.h7430644editdlrm
xtp.h9380644editdlrm
Edit: /usr/src/linux-headers-5.15.0-181/arch/ia64/include/asm/smp.h (2514B)
/* SPDX-License-Identifier: GPL-2.0 */ /* * SMP Support * * Copyright (C) 1999 VA Linux Systems * Copyright (C) 1999 Walt Drummond * (c) Copyright 2001-2003, 2005 Hewlett-Packard Development Company, L.P. * David Mosberger-Tang * Bjorn Helgaas */ #ifndef _ASM_IA64_SMP_H #define _ASM_IA64_SMP_H #include #include #include #include #include #include #include #include #include static inline unsigned int ia64_get_lid (void) { union { struct { unsigned long reserved : 16; unsigned long eid : 8; unsigned long id : 8; unsigned long ignored : 32; } f; unsigned long bits; } lid; lid.bits = ia64_getreg(_IA64_REG_CR_LID); return lid.f.id << 8 | lid.f.eid; } #define hard_smp_processor_id() ia64_get_lid() #ifdef CONFIG_SMP #define raw_smp_processor_id() (current_thread_info()->cpu) extern struct smp_boot_data { int cpu_count; int cpu_phys_id[NR_CPUS]; } smp_boot_data __initdata; extern char no_int_routing; extern cpumask_t cpu_core_map[NR_CPUS]; DECLARE_PER_CPU_SHARED_ALIGNED(cpumask_t, cpu_sibling_map); extern int smp_num_siblings; extern void __iomem *ipi_base_addr; extern volatile int ia64_cpu_to_sapicid[]; #define cpu_physical_id(i) ia64_cpu_to_sapicid[i] extern unsigned long ap_wakeup_vector; /* * Function to map hard smp processor id to logical id. Slow, so don't use this in * performance-critical code. */ static inline int cpu_logical_id (int cpuid) { int i; for (i = 0; i < NR_CPUS; ++i) if (cpu_physical_id(i) == cpuid) break; return i; } /* Upping and downing of CPUs */ extern int __cpu_disable (void); extern void __cpu_die (unsigned int cpu); extern void cpu_die (void) __attribute__ ((noreturn)); extern void __init smp_build_cpu_map(void); extern void __init init_smp_config (void); extern void smp_do_timer (struct pt_regs *regs); extern irqreturn_t handle_IPI(int irq, void *dev_id); extern void smp_send_reschedule (int cpu); extern void identify_siblings (struct cpuinfo_ia64 *); extern int is_multithreading_enabled(void); extern void arch_send_call_function_single_ipi(int cpu); extern void arch_send_call_function_ipi_mask(const struct cpumask *mask); #else /* CONFIG_SMP */ #define cpu_logical_id(i) 0 #define cpu_physical_id(i) ia64_get_lid() #endif /* CONFIG_SMP */ #endif /* _ASM_IA64_SMP_H */