]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Clean up inline handling
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 21 Jun 2016 09:10:26 +0000 (11:10 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 21 Jun 2016 19:32:52 +0000 (21:32 +0200)
commit00914ee9ba32a1d9615efcb372a936c34c10e450
treea2f4eec4044233b92949555780c03f7ba95a374e
parent269d115c986d1da60c412fb5d7e26de55b104631
drm/amdkfd: Clean up inline handling

- inline functions need to be static inline, otherwise gcc can opt to
  not inline and the linker gets unhappy.
- no forward decls for inline functions, just include the right headers.

Cc: Oded Gabbay <oded.gabbay@gmail.com>
Cc: Ben Goz <ben.goz@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1466500235-21282-2-git-send-email-daniel.vetter@ffwll.ch
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h
drivers/gpu/drm/amd/amdkfd/kfd_priv.h