]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
drm/amdgpu/powerplay: include asm/div64.h for do_div()
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 31 Dec 2015 10:20:20 +0000 (21:20 +1100)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 09:25:39 +0000 (10:25 +0100)
BugLink: http://bugs.launchpad.net/bugs/1546572
Fixes: 1e4854e96c35 ("drm/amdgpu/powerplay: implement thermal control for tonga.")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 8a0d560f3e651808ae0a3d9ab9fe476e59de132b)
Signed-off-by: Alberto Milone <alberto.milone@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/gpu/drm/amd/powerplay/hwmgr/fiji_thermal.c
drivers/gpu/drm/amd/powerplay/hwmgr/tonga_thermal.c

index def57d0675ed46d04b6e80b0c9f41815c10d3aa9..e76a7de9aa327b681db48f4fc8793feb62c254d3 100644 (file)
@@ -20,7 +20,7 @@
  * OTHER DEALINGS IN THE SOFTWARE.
  *
  */
-
+#include <asm/div64.h>
 #include "fiji_thermal.h"
 #include "fiji_hwmgr.h"
 #include "fiji_smumgr.h"
index 5da758674a48bbfe377dc73e2801804a17f11725..390177644b8e5ca8c405958f3c7f1a63b3dc3870 100644 (file)
@@ -20,7 +20,7 @@
  * OTHER DEALINGS IN THE SOFTWARE.
  *
  */
-
+#include <asm/div64.h>
 #include "tonga_thermal.h"
 #include "tonga_hwmgr.h"
 #include "tonga_smumgr.h"