#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 */ git.distanz.ch/cgit.cgi/linux/net-next.git/atom/Documentation?h=master' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-10-21 16:16:07 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-10-24 16:59:55 -0400
commite8d7515a983b5ccf6681db0ade3714e837581a97 (patch)
treefb2231296617e826595ca329771ff7da9eedbd65 /Documentation
parent8861a8209782faffedb6d64572fa968ee9c1c375 (diff)
drm/amdgpu: cancel reset work on fini
Cancel any pending reset work when we tear down the driver. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'Documentation')