From: Hanjun Guo Date: Fri, 17 Jan 2014 04:37:02 +0000 (+0800) Subject: ACPI / processor: Return specific error value when mapping lapic id X-Git-Tag: v3.14-rc1~21^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=038d7b593563818c5e9bc61e05c7f5ce1ce8e3ef;p=pandora-kernel.git ACPI / processor: Return specific error value when mapping lapic id Usually, 0 is returned for success in int-returning functions and negative value are returned on failure, but in processor_core.c, some function return 1 for success and 0 for failure which causes confusion to happen sometimes, so modify the functions in question to follow the common convention.. Signed-off-by: Hanjun Guo [rjw: Changelog] Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed