]> 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)
commit23dc1a0a299efeeda67a96b60d6b2451ad6e15db
treea2f4eec4044233b92949555780c03f7ba95a374e
parent0686780be65fe73b464a91081bbb8a7fe8ec8e8f
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