aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorAlan Kao <[email protected]>2018-05-08 03:21:57 +0000
committerPalmer Dabbelt <[email protected]>2018-06-11 16:04:03 +0000
commit1dd985229d5fc19359250bc0e4235aff217672b2 (patch)
tree44dfa5f5f8a5d1c50fa066ca7d80b23a9aa76058 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentriscv: add riscv-specific predefines to CHECKFLAGS (diff)
downloadkernel-1dd985229d5fc19359250bc0e4235aff217672b2.tar.gz
kernel-1dd985229d5fc19359250bc0e4235aff217672b2.zip
riscv/ftrace: Export _mcount when DYNAMIC_FTRACE isn't set
The EXPORT_SYMBOL(_mcount) for RISC-V ended up inside a CONFIG_DYNAMIC_FTRACE ifdef. If you enable modules without enabling CONFIG_DYNAMIC_FTRACE then you'll get a build error without this patch because the modules won't be able to find _mcount. The new behavior is to export _mcount whenever CONFIG_FUNCTION_TRACER is defined. This matches what every other architecture is doing. Signed-off-by: Alan Kao <[email protected]> Cc: Greentime Hu <[email protected]> Cc: Zong Li <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions