#ifndef LOCKME_H #define LOCKME_H #include #include "die.h" static inline void xlockme(void) { if (mlockall(MCL_CURRENT | MCL_FUTURE) != 0) panic("Cannot lock pages!\n"); } static inline void xunlockme(void) { munlockall(); } #endif /* LOCKME_H */ te' title='Atom feed' href='https://git.distanz.ch/cgit.cgi/linux/net-next.git/atom/?h=nds-private-remove' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2016-08-16 19:52:35 +0200
committerAlex Deucher <alexander.deucher@amd.com>2016-08-19 12:29:20 -0400
commitbdf001374bfe12677ae6ec5076452493fb682012 (patch)
tree5da429580d2b23347834cea13b1d1e2d85239196
parent847927bb3db2b18744ddec1b4fbb274ac7e05199 (diff)
drm/amdgpu: fix timeout value check in amd_sched_job_recovery
Could be that we don't actually have a timeout set. Signed-off-by: Christian König <christian.koenig@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Chunming Zhou <david1.zhou@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>