summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2020-04-21 18:24:07 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-10 10:32:51 +0200
commit549e321c9468f0084ae0239c3668dae10a6220e1 (patch)
tree5924d74e25d91abba1e462251ff5c2324d941f2a /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parent8846b918c55e47123e37f9220f5d5cdc3c78f900 (diff)
tools/runqslower: Ensure own vmlinux.h is picked up first
[ Upstream commit dfc55ace9939e1e8703ad37ddbba41aaa31cc0cb ] Reorder include paths to ensure that runqslower sources are picking up vmlinux.h, generated by runqslower's own Makefile. When runqslower is built from selftests/bpf, due to current -I$(BPF_INCLUDE) -I$(OUTPUT) ordering, it might pick up not-yet-complete vmlinux.h, generated by selftests Makefile, which could lead to compilation errors like [0]. So ensure that -I$(OUTPUT) goes first and rely on runqslower's Makefile own dependency chain to ensure vmlinux.h is properly completed before source code relying on it is compiled. [0] https://travis-ci.org/github/libbpf/libbpf/jobs/677905925 Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200422012407.176303-1-andriin@fb.com Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions