acpi_get_cpu_uid(9)
π NAME π
acpi_get_cpu_uid(9) is the page title, and it lives in the Kernel API Manual β manual name folded in near the top, bestie, no header line copy-paste needed π
The function itself is acpi_get_cpu_uid, and the official one-liner is literally: Get ACPI Processor UID of from MADT table. Yes, βof fromβ is in there; we are preserving the originalβs little quirk, no edits, periodt.
β¨ SYNOPSIS β¨
int acpi_get_cpu_uid (unsigned int cpu , u32 *uid );
Thatβs the whole signature, character-for-character, no remix π«Ά
π ARGUMENTS π
cpuβ Logical CPU number (0-based). Like the CPUβs lil index, bestie.uidβ Pointer to store ACPI Processor UID. This is where the UID gets parked.
π«Ά RETURN π«Ά
Hereβs the return vibe check:
0on success (ACPI Processor ID stored in*uid). Slay.-EINVALif CPU number is invalid or out of range. Not the vibe.-ENODEVif ACPI Processor UID for the CPU is not found. Literally missing.
π SEE ALSO π
The original points you at:
- Kernel file
./include/linux/acpi.h pxm_to_online_node(9)struct acpi_probe_entry(9)
okay bye ily π cute little sign-off: this pageβs source/version is ./include/linux, itβs dated October 2026, and weβre still talking about acpi_get_cpu_uid(9) β no cap, thatβs the footer folded in πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms