Hanjun Guo 038d7b5935 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 <hanjun.guo@linaro.org>
[rjw: Changelog]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2014-01-27 22:51:44 +01:00
..
2013-11-27 01:03:27 +01:00
2013-09-30 19:46:13 +02:00
2013-10-28 01:12:41 +01:00
2013-11-16 15:45:00 +01:00
2013-04-28 01:54:08 +02:00
2013-11-07 19:31:15 +01:00
2013-11-19 01:06:06 +01:00
2013-09-24 01:40:38 +02:00
2013-11-07 19:31:15 +01:00
2013-09-24 01:40:38 +02:00
2013-11-07 19:31:15 +01:00
2013-10-12 00:19:45 +02:00
2013-10-12 00:19:44 +02:00
2013-01-17 14:11:06 +01:00