@@ -691,43 +691,6 @@ int find_acpi_cpu_topology(unsigned int cpu, int level)
691
691
return find_acpi_cpu_topology_tag (cpu , level , 0 );
692
692
}
693
693
694
- /**
695
- * find_acpi_cpu_cache_topology() - Determine a unique cache topology value
696
- * @cpu: Kernel logical CPU number
697
- * @level: The cache level for which we would like a unique ID
698
- *
699
- * Determine a unique ID for each unified cache in the system
700
- *
701
- * Return: -ENOENT if the PPTT doesn't exist, or the CPU cannot be found.
702
- * Otherwise returns a value which represents a unique topological feature.
703
- */
704
- int find_acpi_cpu_cache_topology (unsigned int cpu , int level )
705
- {
706
- struct acpi_table_header * table ;
707
- struct acpi_pptt_cache * found_cache ;
708
- acpi_status status ;
709
- u32 acpi_cpu_id = get_acpi_id_for_cpu (cpu );
710
- struct acpi_pptt_processor * cpu_node = NULL ;
711
- int ret = -1 ;
712
-
713
- status = acpi_get_table (ACPI_SIG_PPTT , 0 , & table );
714
- if (ACPI_FAILURE (status )) {
715
- acpi_pptt_warn_missing ();
716
- return - ENOENT ;
717
- }
718
-
719
- found_cache = acpi_find_cache_node (table , acpi_cpu_id ,
720
- CACHE_TYPE_UNIFIED ,
721
- level ,
722
- & cpu_node );
723
- if (found_cache )
724
- ret = ACPI_PTR_DIFF (cpu_node , table );
725
-
726
- acpi_put_table (table );
727
-
728
- return ret ;
729
- }
730
-
731
694
/**
732
695
* find_acpi_cpu_topology_package() - Determine a unique CPU package value
733
696
* @cpu: Kernel logical CPU number
0 commit comments