From: Hanjun Guo Date: Mon, 11 May 2015 04:17:13 +0000 (+0800) Subject: ACPI / processor: Introduce invalid_logical_cpuid() X-Git-Tag: omap-for-v4.3/legacy-v2-signed~183^2~11^3~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25956b6612601cf36022392ffa83f6bf97939bcd;p=pandora-kernel.git ACPI / processor: Introduce invalid_logical_cpuid() In ACPI processor drivers, we use direct comparisons of cpu logical id with -1 which are error prone in case logical cpuid is accidentally assinged an error code and prevents us from returning an error-encoding cpuid directly in some cases. So introduce invalid_logical_cpuid() to identify cpu with invalid logical cpu num, then it will be used to replace the direct comparisons with -1. Signed-off-by: Hanjun Guo Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed