[PATCH v9 7/7] acpi: Provide the interface to validate the proc_id

2016-07-25 Thread Dou Liyang
When we want to identify whether the proc_id is unreasonable or not, we can call the "acpi_processor_validate_proc_id" function. It will search in the duplicate IDs. If we find the proc_id in the IDs, we return true to the call function. Conversely, the false represents available. When we

[PATCH v9 7/7] acpi: Provide the interface to validate the proc_id

2016-07-25 Thread Dou Liyang
When we want to identify whether the proc_id is unreasonable or not, we can call the "acpi_processor_validate_proc_id" function. It will search in the duplicate IDs. If we find the proc_id in the IDs, we return true to the call function. Conversely, the false represents available. When we