configs: enable config of X86_PAT for nvidia driver
The following errors are showing up when compiling nvidia driver: /home/builder/rpmbuild/BUILD/gpu_src/kernel/nvidia/nv-pat.c: In function 'nv_disable_caches': /home/builder/rpmbuild/BUILD/gpu_src/kernel/nvidia/nv-pat.c:66:5: error: implicit declaration of function '__flush_tlb'; did you mean '__flush_tlb_all'? [-Werror=implicit-function-declaration] 66 | __flush_tlb(); | ^~~~~~~~~~~ | __flush_tlb_all cc1: some warnings being treated as errors Solve these issues by: enable CONFIG_X86_PAT Signed-off-by: Zeng Jingxiang <linuszeng@tencent.com>
This commit is contained in:
parent
69591b8c51
commit
4658d1f284
|
@ -59,7 +59,8 @@ CONFIG_PERF_EVENTS_AMD_POWER=y
|
|||
CONFIG_X86_MSR=y
|
||||
CONFIG_X86_CPUID=y
|
||||
CONFIG_NUMA=y
|
||||
# CONFIG_MTRR is not set
|
||||
CONFIG_MTRR=y
|
||||
CONFIG_X86_PAT=y
|
||||
CONFIG_EFI=y
|
||||
CONFIG_EFI_STUB=y
|
||||
# CONFIG_RANDOMIZE_BASE is not set
|
||||
|
|
Loading…
Reference in New Issue