diff options
Diffstat (limited to 'src/hardware/LMI_AssociatedProcessorCacheMemoryProvider.c')
-rw-r--r-- | src/hardware/LMI_AssociatedProcessorCacheMemoryProvider.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/hardware/LMI_AssociatedProcessorCacheMemoryProvider.c b/src/hardware/LMI_AssociatedProcessorCacheMemoryProvider.c index d786f3d..9c627a9 100644 --- a/src/hardware/LMI_AssociatedProcessorCacheMemoryProvider.c +++ b/src/hardware/LMI_AssociatedProcessorCacheMemoryProvider.c @@ -22,7 +22,6 @@ #include "LMI_AssociatedProcessorCacheMemory.h" #include "LMI_Processor.h" #include "LMI_Hardware.h" -#include "globals.h" #include "dmidecode.h" #include "lscpu.h" #include "sysfs.h" @@ -137,7 +136,7 @@ static CMPIStatus LMI_AssociatedProcessorCacheMemoryEnumInstances( get_system_creation_class_name()); LMI_ProcessorRef_Set_SystemName(&lmi_cpu, get_system_name()); LMI_ProcessorRef_Set_CreationClassName(&lmi_cpu, - ORGID "_" CPU_CLASS_NAME); + LMI_ORGID "_" CPU_CLASS_NAME); LMI_ProcessorRef_Set_DeviceID(&lmi_cpu, dmi_cpus[i].id); /* loop caches */ @@ -155,7 +154,7 @@ static CMPIStatus LMI_AssociatedProcessorCacheMemoryEnumInstances( LMI_ProcessorCacheMemoryRef_Set_SystemName(&lmi_cpu_cache, get_system_name()); LMI_ProcessorCacheMemoryRef_Set_CreationClassName( - &lmi_cpu_cache, ORGID "_" CPU_CACHE_CLASS_NAME); + &lmi_cpu_cache, LMI_ORGID "_" CPU_CACHE_CLASS_NAME); LMI_ProcessorCacheMemoryRef_Set_DeviceID( &lmi_cpu_cache, dmi_cpu_caches[j].id); @@ -219,7 +218,7 @@ static CMPIStatus LMI_AssociatedProcessorCacheMemoryEnumInstances( LMI_ProcessorCacheMemoryRef_Set_SystemName(&lmi_cpu_cache, get_system_name()); LMI_ProcessorCacheMemoryRef_Set_CreationClassName(&lmi_cpu_cache, - ORGID "_" CPU_CACHE_CLASS_NAME); + LMI_ORGID "_" CPU_CACHE_CLASS_NAME); LMI_ProcessorCacheMemoryRef_Set_DeviceID(&lmi_cpu_cache, sysfs_cpu_caches[i].id); @@ -231,7 +230,7 @@ static CMPIStatus LMI_AssociatedProcessorCacheMemoryEnumInstances( get_system_creation_class_name()); LMI_ProcessorRef_Set_SystemName(&lmi_cpu, get_system_name()); LMI_ProcessorRef_Set_CreationClassName(&lmi_cpu, - ORGID "_" CPU_CLASS_NAME); + LMI_ORGID "_" CPU_CLASS_NAME); if (dmi_cpus_nb > 0) { LMI_ProcessorRef_Set_DeviceID(&lmi_cpu, dmi_cpus[j].id); |