Files
linux/drivers/base
Guenter Roeck e1b5d10389 drivers: power: use 'current' instead of 'get_current()'
get_current() to get the current thread pointer is not defined for all
architectures. This results in the following build error for several
architectures (s390, powerpc, and possibly others).

drivers/base/power/main.c: In function '__device_suspend':
drivers/base/power/main.c:1415:2: error:
	implicit declaration of function 'get_current'

Use 'current' instead. Also include asm/current.h instead of depending on
an implicit include.

Fixes: ad86cc8ad6 ("drivers: power: Add watchdog timer to catch drivers which lockup during suspend."
Signed-off-by: Guenter Roeck <groeck@chromium.org>
2016-03-03 09:44:44 -08:00
..
2015-09-17 06:06:54 -07:00
2014-07-04 18:05:05 +01:00
2010-05-21 09:37:29 -07:00
2015-10-04 19:42:22 +01:00