We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da64a23 commit a0d3c8bCopy full SHA for a0d3c8b
arch/loongarch/kernel/acpi.c
@@ -249,18 +249,6 @@ static __init int setup_node(int pxm)
249
return acpi_map_pxm_to_node(pxm);
250
}
251
252
-/*
253
- * Callback for SLIT parsing. pxm_to_node() returns NUMA_NO_NODE for
254
- * I/O localities since SRAT does not list them. I/O localities are
255
- * not supported at this point.
256
- */
257
-unsigned int numa_distance_cnt;
258
-
259
-static inline unsigned int get_numa_distances_cnt(struct acpi_table_slit *slit)
260
-{
261
- return slit->locality_count;
262
-}
263
264
void __init numa_set_distance(int from, int to, int distance)
265
{
266
if ((u8)distance != distance || (from == to && distance != LOCAL_DISTANCE)) {
0 commit comments