Skip to content

Commit

Permalink
amdgpu: Fix compile on powerpc64
Browse files Browse the repository at this point in the history
The BOOLEAN typedef is defined when CONFIG_ACPI is selected which is not
the case for powerpc64.
Only define it when we aren't compiling for i386, amd64 or aarch64.

Fixes: #22
Signed-off-by: Emmanuel Vadot <[email protected]>
  • Loading branch information
evadot committed Sep 14, 2020
1 parent 311fb64 commit 8c1da9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/amd/display/dc/dm_pp_smu.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* interface to PPLIB/SMU to setup clocks and pstate requirements on SoC
*/

#ifdef __linux__
#if !defined(__i386__) && !defined(__amd64__) && !defined(__aarch64__)
typedef bool BOOLEAN;
#endif

Expand Down

0 comments on commit 8c1da9f

Please sign in to comment.