mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-04-11 06:28:06 +07:00
ACPI: resolve merge conflict between sem2mutex and processor_perflib.c
Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
d42510a0f5
commit
785fcccd68
@ -624,7 +624,7 @@ int acpi_processor_preregister_performance(
|
|||||||
struct acpi_processor *match_pr;
|
struct acpi_processor *match_pr;
|
||||||
struct acpi_psd_package *match_pdomain;
|
struct acpi_psd_package *match_pdomain;
|
||||||
|
|
||||||
down(&performance_sem);
|
mutex_lock(&performance_mutex);
|
||||||
|
|
||||||
retval = 0;
|
retval = 0;
|
||||||
|
|
||||||
@ -772,7 +772,7 @@ int acpi_processor_preregister_performance(
|
|||||||
pr->performance = NULL; /* Will be set for real in register */
|
pr->performance = NULL; /* Will be set for real in register */
|
||||||
}
|
}
|
||||||
|
|
||||||
up(&performance_sem);
|
mutex_unlock(&performance_mutex);
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(acpi_processor_preregister_performance);
|
EXPORT_SYMBOL(acpi_processor_preregister_performance);
|
||||||
|
Loading…
Reference in New Issue
Block a user